@font-face {
  font-family: "Gentrail Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/ba9851c3c22cd980-s.woff2) format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Gentrail Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/21350d82a1f187e9-s.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Gentrail Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/c5fe6dc8356a8c31-s.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: "Gentrail Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/19cfc7226ec3afaa-s.woff2) format("woff2");
  unicode-range:
    U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Gentrail Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/df0a9ae256c0569c-s.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Gentrail Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/8e9860b6e62d6359-s.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gentrail Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/e4af272ccee01ff0-s.p.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Gentrail Inter Fallback";
  src: local("Arial");
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
  size-adjust: 107.06%;
}
@font-face {
  font-family: "Gentrail Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/c95a17d6aa1ccc69-s.woff2) format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Gentrail Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/84792440f5374347-s.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Gentrail Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/10735954b8957dce-s.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: "Gentrail Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/69c8297e91a203ed-s.woff2) format("woff2");
  unicode-range:
    U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Gentrail Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/32ec8d161d520037-s.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Gentrail Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/ceda3e828136e1b8-s.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gentrail Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(/fonts/103fc5fac08dcb15-s.p.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Gentrail Inter Tight Fallback";
  src: local("Arial");
  ascent-override: 100.51%;
  descent-override: 25.03%;
  line-gap-override: 0%;
  size-adjust: 96.39%;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/58f386aa6b1a2a92-s.woff2) format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/82179190dde1591d-s.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/dc4d8d7cae82600c-s.woff2) format("woff2");
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/11c4c3cba9a7e226-s.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/d51fd126416ee4c8-s.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/cdec7fa3927eb560-s.p.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(/fonts/ef4d5661765d0e49-s.woff2) format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(/fonts/f198ae9a2620d439-s.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(/fonts/a850a10de48942a7-s.woff2) format("woff2");
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(/fonts/bfede01fd09039d8-s.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(/fonts/36bf3e92c0d6f837-s.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gentrail Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(/fonts/af5dd2b5d3f396f3-s.p.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Gentrail Plex Mono Fallback";
  src: local("Arial");
  ascent-override: 76.16%;
  descent-override: 20.43%;
  line-gap-override: 0%;
  size-adjust: 134.59%;
}
:root {
  --font-inter: "Gentrail Inter", "Gentrail Inter Fallback";
  --font-inter-tight: "Gentrail Inter Tight", "Gentrail Inter Tight Fallback";
  --font-code: "Gentrail Plex Mono", "Gentrail Plex Mono Fallback";
}

@layer reset, tokens, components;

@layer tokens {
  :root {
    --fg: #1a1a18;
    --fg2: #3d3d3a;
    --fg3: #7a7a74;
    --fg4: #a5a59e;
    --bg: #ffffff;
    --bg2: #f8f8f6;
    --bg3: #f0efed;
    --white: #ffffff;
    --ac: #5550d4;
    --ac2: #4840b8;
    --ac-bg: #eeedfc;
    --ac-l: #f5f4fe;
    --warm: #d93d42;
    --warm-bg: #fdecec;
    --amber: #fbbf24;
    --amber-bg: #f5f0e4;
    --pass: #3d7a52;
    --pass-bg: #ebf3ee;
    --border: #e5e5e2;
    --border2: #d4d4d0;
    --head: "Newsreader", Georgia, serif;
    --body: "Source Serif 4", Georgia, serif;
    --mono: "IBM Plex Mono", monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }
}
@layer reset {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
}
html {
  scrollbar-gutter: stable;
  scroll-behavior: auto;
  overflow-x: clip;
  max-width: 100vw;
}
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  font-size: var(--step--1);
  line-height: 1.7;
  overflow-x: clip;
  max-width: 100vw;
  text-wrap: pretty;
}
.nobr {
  white-space: nowrap;
}
::selection {
  background: var(--ac-bg);
  color: var(--ac);
}

.wrap {
  max-width: var(--grid-max-width);
  margin: 0 auto;
  padding: 0 var(--grid-gutter);
}
.kk {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 3.5px;
  color: var(--ac);
  margin-bottom: var(--space-2xs);
  font-weight: 500;
}
.sh {
  font-family: var(--head);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.8px;
  margin-bottom: var(--space-xs);
}
.sp {
  font-size: var(--step--1);
  color: var(--fg3);
  line-height: 1.8;
  max-width: 500px;
}

.ba {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.5px;
  background: var(--ac);
  color: #fff;
  padding: var(--space-xs) var(--space-m);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}
.ba:hover {
  background: var(--ac2);
  transform: translateY(-1px);
}
.bo {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1px solid var(--border2);
  color: var(--fg);
  padding: var(--space-xs) var(--space-m);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
  background: var(--white);
}
.bo:hover {
  border-color: var(--ac);
  color: var(--ac);
}

@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes typeIn {
  from {
    width: 0;
    border-right-color: var(--ac);
  }
  to {
    width: 100%;
    border-right-color: transparent;
  }
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
@keyframes drawLine {
  from {
    stroke-dashoffset: 600;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes drawGap {
  from {
    stroke-dashoffset: 400;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fadeGap {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.12;
  }
}
@keyframes scanSweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
@keyframes blockFlash {
  0%,
  100% {
    background: transparent;
  }
  30% {
    background: var(--warm-bg);
  }
}
@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
}
@keyframes badgePop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes strikeIn {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes tkScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes agentDrift {
  0% {
    transform: translate(0, 0);
    opacity: 0.15;
  }
  25% {
    transform: translate(12px, -8px);
    opacity: 0.5;
  }
  50% {
    transform: translate(-6px, 14px);
    opacity: 0.25;
  }
  75% {
    transform: translate(18px, 6px);
    opacity: 0.6;
  }
  100% {
    transform: translate(0, 0);
    opacity: 0.15;
  }
}
@keyframes agentDrift2 {
  0% {
    transform: translate(0, 0);
    opacity: 0.2;
  }
  33% {
    transform: translate(-14px, 10px);
    opacity: 0.55;
  }
  66% {
    transform: translate(10px, -12px);
    opacity: 0.3;
  }
  100% {
    transform: translate(0, 0);
    opacity: 0.2;
  }
}
@keyframes agentDrift3 {
  0% {
    transform: translate(0, 0);
    opacity: 0.3;
  }
  20% {
    transform: translate(8px, 16px);
    opacity: 0.6;
  }
  60% {
    transform: translate(-10px, -6px);
    opacity: 0.15;
  }
  100% {
    transform: translate(0, 0);
    opacity: 0.3;
  }
}
@keyframes questionMark {
  0%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
  40%,
  70% {
    opacity: 0.7;
    transform: translateY(0);
  }
}
@keyframes actionCross {
  0% {
    transform: translateX(-40px);
    opacity: 0;
  }
  30% {
    transform: translateX(0);
    opacity: 1;
  }
  70% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(40px);
    opacity: 0;
  }
}
@keyframes barrierFade {
  0%,
  100% {
    stroke-opacity: 0.1;
  }
  50% {
    stroke-opacity: 0.3;
  }
}
@keyframes logFade {
  0% {
    opacity: 0.8;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes logAppear {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  20% {
    opacity: 0.7;
    transform: translateY(0);
  }
  80% {
    opacity: 0.7;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes ucAgentMove {
  0% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(56px);
  }
  50% {
    transform: translateX(56px);
  }
  100% {
    transform: translateX(56px);
  }
}
@keyframes ucScanLine {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}
@keyframes ucShieldFlash {
  0%,
  40% {
    opacity: 0;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  60% {
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes ucBadgePop {
  0%,
  60% {
    opacity: 0;
    transform: scale(0.6) translateY(4px);
  }
  70% {
    opacity: 1;
    transform: scale(1.05) translateY(0);
  }
  80% {
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes ucPulseRing {
  0% {
    r: 6;
    stroke-opacity: 0.6;
  }
  100% {
    r: 14;
    stroke-opacity: 0;
  }
}

@keyframes intScanBeam {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
@keyframes intNodePop {
  0% {
    r: 0;
    opacity: 0;
  }
  100% {
    r: 4;
    opacity: 1;
  }
}
@keyframes intSDKFlow {
  0% {
    stroke-dashoffset: 200;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes intCheckPop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes flow {
  0% {
    stroke-dashoffset: 50;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes flowSlow {
  0% {
    stroke-dashoffset: 80;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes pulseRing {
  0% {
    r: 14;
    stroke-opacity: 0.55;
  }
  100% {
    r: 30;
    stroke-opacity: 0;
  }
}
@keyframes nodeGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(85, 80, 212, 0.25));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(85, 80, 212, 0.45));
  }
}
@keyframes shimmer {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
@keyframes vsAlarm {
  0%,
  100% {
    r: 22;
    stroke-opacity: 0.5;
  }
  50% {
    r: 30;
    stroke-opacity: 0.05;
  }
}
@keyframes shadowPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.95;
  }
}
@keyframes radarSweep {
  0% {
    transform: rotate(0deg);
    opacity: 0.6;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.6;
  }
}
@keyframes scanRow {
  0%,
  15% {
    opacity: 0;
    transform: translateY(-4px);
  }
  30%,
  75% {
    opacity: 0.85;
    transform: translateY(0);
  }
  90%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
}

.prob-scene {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 48px;
  margin-bottom: var(--space-xs);
}
.prob-scene svg {
  width: 100%;
  height: 100%;
}

.uc-scene {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  padding: var(--space-m) var(--space-s);
  position: relative;
  overflow: hidden;
}
.uc-scene svg {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.int-anim {
  background: var(--bg);
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-xs);
  padding: var(--space-s);
  overflow: hidden;
}
.int-anim svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.diagram-shadow {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
}
.diagram-shadow-dark {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.15));
}

.sec-problem {
  background: #15142e;
  padding: var(--space-3xl) var(--grid-gutter);
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}
.sec-problem::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    rgba(120, 115, 230, 0.14),
    transparent 70%
  );
  pointer-events: none;
}
.sec-problem .kk {
  color: rgba(255, 255, 255, 0.4);
}
.sec-problem .prob-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: var(--space-m);
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease);
}
.sec-problem .prob-card:hover {
  border-color: rgba(220, 140, 140, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.sec-problem .prob-card .prob-vis {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: var(--space-s);
  margin-bottom: var(--space-s);
  aspect-ratio: 1.85/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sec-problem .prob-card .prob-vis svg {
  width: 100%;
  height: 100%;
  display: block;
}
.sec-problem .prob-card h3 {
  font-family: var(--head);
  font-size: var(--step-0);
  font-weight: 600;
  margin-bottom: var(--space-2xs);
  color: #fff;
}
.sec-problem .prob-card p {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.sec-how {
  background: var(--white);
  padding: var(--space-3xl) var(--grid-gutter);
}

.sec-usecases {
  background: #f3f2fc;
  padding: var(--space-3xl) var(--grid-gutter);
  position: relative;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 24px,
    rgba(85, 80, 212, 0.025) 24px,
    rgba(85, 80, 212, 0.025) 25px
  );
}
.sec-usecases::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 50% at 80% 20%,
    rgba(85, 80, 212, 0.06),
    transparent 60%
  );
  pointer-events: none;
}
.sec-usecases .kk {
  color: var(--ac);
}
.sec-usecases .sh {
  color: var(--fg);
}
.sec-usecases .uc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.sec-usecases .uc-card:hover {
  border-color: var(--ac);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(85, 80, 212, 0.08);
}
.sec-usecases .uc-scene {
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid var(--border);
  min-height: 340px;
  padding: var(--space-m) var(--space-s);
}
.sec-usecases .uc-text {
  padding: var(--space-m);
}
.sec-usecases .uc-text .uc-label {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 2px;
  color: var(--ac);
  margin-bottom: var(--space-3xs);
  font-weight: 500;
}
.sec-usecases .uc-text h3 {
  font-family: var(--head);
  font-size: var(--step--1);
  font-weight: 600;
  margin-bottom: var(--space-3xs);
  color: var(--fg);
  line-height: 1.3;
}
.sec-usecases .uc-text p {
  font-size: var(--step--2);
  color: var(--fg3);
  line-height: 1.55;
}

.sec-integration {
  background: #fbf9f6;
  padding: var(--space-2xl) var(--grid-gutter);
  position: relative;
  background-image: radial-gradient(
    circle,
    rgba(138, 109, 47, 0.06) 0.8px,
    transparent 0.8px
  );
  background-size: 20px 20px;
}

.sec-hood {
  background: #15142e;
  color: #fff;
  padding: var(--space-3xl) var(--grid-gutter);
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
.sec-hood::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 40% 40% at 20% 80%,
      rgba(85, 80, 212, 0.1),
      transparent 50%
    ),
    radial-gradient(
      ellipse 40% 40% at 80% 20%,
      rgba(61, 122, 82, 0.06),
      transparent 50%
    );
  pointer-events: none;
}
.sec-hood .kk {
  color: rgba(255, 255, 255, 0.35);
}
.sec-hood .sh {
  color: #fff;
}
.sec-hood .sp {
  color: rgba(255, 255, 255, 0.5);
}

.sec-vs {
  background: var(--white);
  padding: var(--space-3xl) var(--grid-gutter);
  position: relative;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(0, 0, 0, 0.025) 39px,
    rgba(0, 0, 0, 0.025) 40px
  );
}

.sec-integrations {
  background: var(--ac);
  padding: var(--space-xl) var(--grid-gutter);
  color: #fff;
  position: relative;
}
.sec-integrations .kk {
  color: rgba(255, 255, 255, 0.4);
}
.sec-integrations .int-tag {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}
.sec-integrations .int-tag:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.sec-integrations .fw-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.sec-ticker {
  border-top: none;
  border-bottom: none;
  padding: var(--space-xs) 0;
  overflow: hidden;
  background: var(--ac);
}

.btn,
.btn-o {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.btn:hover::before {
  opacity: 1;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(85, 80, 212, 0.35);
  letter-spacing: 1px;
}
.btn-o:hover {
  background: var(--ac);
  color: #fff;
  border-color: var(--ac);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(85, 80, 212, 0.15);
}
.cta a {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.cta a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(85, 80, 212, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.5s,
    height 0.5s;
}
.cta a:hover::before {
  width: 300px;
  height: 300px;
}
.cta a:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.tk {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  letter-spacing: 0.5px;
  font-weight: 500;
}
.tk-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}
.tk-dot.pend {
  opacity: 0.3;
}
.bp-name {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 600;
  margin-bottom: var(--space-3xs);
  position: relative;
  display: inline-block;
}
.bp-card.vis .bp-name::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 1.5px;
  background: var(--warm);
  animation: strikeIn 0.5s var(--ease) forwards;
}
.bp-card:nth-child(1).vis .bp-name::after {
  animation-delay: 0s;
}
.bp-card:nth-child(2).vis .bp-name::after {
  animation-delay: 0.15s;
}
.bp-card:nth-child(3).vis .bp-name::after {
  animation-delay: 0.3s;
}
.bp-card:nth-child(4).vis .bp-name::after {
  animation-delay: 0.45s;
}

.hero-bottom {
  width: 100%;
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}
.hero-bottom .gt-milestones {
  flex: 0 0 300px;
}
.hero-bottom .gt-hero-demo {
  flex: 1;
  min-width: 0;
}
.hero-bottom {
  animation: heroUp 0.9s var(--ease) 0.45s both;
}

.hero-shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 24px 48px -16px rgba(0, 0, 0, 0.12),
    0 8px 16px -6px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  will-change: transform;
}
.hero-shot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 64px -16px rgba(85, 80, 212, 0.18),
    0 12px 24px -8px rgba(0, 0, 0, 0.1);
}
.hero-shot img {
  width: 100%;
  display: block;
}

.hero-shot-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 65%
  );
  transform: translateX(-110%);
  pointer-events: none;
  animation: hsGloss 8s ease-in-out 1.6s infinite;
}

@keyframes hsGloss {
  0% {
    transform: translateX(-110%);
  }
  20% {
    transform: translateX(110%);
  }
  100% {
    transform: translateX(110%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shot-gloss {
    animation: none !important;
  }
  .hero-shot:hover {
    transform: none;
  }
}

.gt-hero-demo {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.gt-screen {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(60, 50, 120, 0.12),
    0 0 0 1px rgba(20, 18, 45, 0.06);
  background: #fff;
}
.gt-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gt-slide.gt-active {
  opacity: 1;
  position: relative;
}

.gt-milestones {
  display: flex;
  flex-direction: column;
}
.gt-milestone-header {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: var(--space-m);
}
.gt-step {
  position: relative;
  padding: var(--space-s) 0 var(--space-s) var(--space-m);
  opacity: 1;
  transition: opacity 0.5s ease;
}
.gt-step.gt-step-active {
  opacity: 1;
}
.gt-step.gt-step-done {
  opacity: 1;
}
.gt-step::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.gt-step:first-of-type::before {
  top: 50%;
}
.gt-step:last-of-type::before {
  bottom: 50%;
}
.gt-step::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border2);
  transition: all 0.4s ease;
}
.gt-step.gt-step-active::after {
  background: var(--ac);
  border-color: var(--ac);
  box-shadow: 0 0 12px rgba(85, 80, 212, 0.35);
}
.gt-step.gt-step-done::after {
  background: rgba(85, 80, 212, 0.3);
  border-color: rgba(85, 80, 212, 0.3);
}
.gt-step-title {
  font-family: var(--head);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-3xs);
  letter-spacing: -0.2px;
}
.gt-step-desc {
  font-family: var(--body);
  font-size: var(--step--2);
  line-height: 1.55;
  color: var(--fg3);
  transition: color 0.4s ease;
}
.gt-step.gt-step-active .gt-step-desc {
  color: var(--fg2);
}

.scene {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.02),
    0 10px 32px rgba(0, 0, 0, 0.05);
}
.scene-top {
  padding: var(--space-xs) var(--space-s);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}
.scene-narr {
  font-family: var(--head);
  font-size: var(--step--2);
  font-style: italic;
  color: var(--fg3);
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--ac);
  width: 0;
  animation: typeIn 1.5s var(--ease) 0.7s forwards;
}
.scene-live {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--pass);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  flex-shrink: 0;
}
.scene-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pass);
  animation: livePulse 2s ease-in-out infinite;
}
.scene-body {
  padding: var(--space-xs) var(--space-s);
}
.scene-step {
  display: flex;
  gap: var(--space-2xs);
  align-items: flex-start;
  padding: var(--space-2xs) 0;
  opacity: 0;
  animation: stepIn 0.5s var(--ease) forwards;
}
.scene-step:nth-child(1) {
  animation-delay: 0.9s;
}
.scene-step:nth-child(2) {
  animation-delay: 1.3s;
}
.scene-step:nth-child(3) {
  animation-delay: 1.7s;
}
.scene-step:nth-child(4) {
  animation-delay: 2.1s;
}
.sn-num {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: #fff;
  font-weight: 500;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sn-label {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 500;
  margin-bottom: 2px;
}
.sn-detail {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg4);
}
.sn-badge {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 600;
  padding: var(--space-3xs) var(--space-2xs);
  border-radius: 4px;
  display: inline-block;
  margin-top: var(--space-3xs);
  opacity: 0;
  animation: badgePop 0.4s var(--ease) 2s forwards;
}
.sn-tags {
  display: flex;
  gap: var(--space-3xs);
  margin-top: var(--space-3xs);
}
.sn-tag {
  font-family: var(--mono);
  font-size: var(--step--2);
  padding: 2px var(--space-3xs);
  border-radius: 3px;
  background: var(--ac-bg);
  color: var(--ac);
  font-weight: 500;
}

.gap-sec {
  padding: var(--space-2xl) var(--grid-gutter);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gap-inner {
  max-width: 800px;
  margin: 0 auto;
}
.gap-chart {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-m) var(--space-m);
  margin-top: var(--space-m);
}

.plat {
  padding: var(--space-2xl) var(--grid-gutter);
}
.plat-inner {
  max-width: var(--grid-max-width);
  margin: 0 auto;
}
.plat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: var(--space-xs);
}
.plat-head {
  padding: var(--space-s) var(--space-s);
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.plat-step {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 2px;
  font-weight: 500;
}
.plat-title {
  font-family: var(--head);
  font-size: var(--step-0);
  font-weight: 600;
}
.plat-visual {
  background: var(--bg);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.plat-ph {
  border: 1.5px dashed var(--border2);
  border-radius: 8px;
  margin: var(--space-s);
  padding: var(--space-m) var(--space-m);
  text-align: center;
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg4);
  line-height: 1.6;
  flex: 1;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 12px,
    rgba(0, 0, 0, 0.012) 12px,
    rgba(0, 0, 0, 0.012) 13px
  );
}
.plat-outcome {
  padding: var(--space-xs) var(--space-s);
  font-family: var(--head);
  font-size: var(--step--1);
  font-style: italic;
  color: var(--fg3);
  border-top: 1px solid var(--border);
}

.hood {
  padding: var(--space-2xl) var(--grid-gutter);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hood-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.hood-lanes {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}
.hood-lane {
  flex: 1;
  padding: var(--space-s);
  border-radius: 10px;
}
.hood-lane h4 {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 500;
  margin-bottom: var(--space-3xs);
  letter-spacing: 1px;
}
.hood-lane p {
  font-size: var(--step--2);
  color: var(--fg3);
  line-height: 1.5;
}
.hood-converge {
  text-align: center;
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg4);
  margin-bottom: var(--space-xs);
  letter-spacing: 1px;
}
.hood-engine {
  padding: var(--space-s) var(--space-s);
  border-radius: 10px;
  background: rgba(85, 80, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  flex-wrap: wrap;
}
.hood-box {
  font-family: var(--mono);
  font-size: var(--step--2);
  padding: var(--space-2xs) var(--space-xs);
  border-radius: 6px;
  font-weight: 500;
}

.why {
  padding: var(--space-2xl) var(--grid-gutter);
}
.why-inner {
  max-width: 900px;
  margin: 0 auto;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin-top: var(--space-s);
}
.why-card {
  display: flex;
  gap: var(--space-s);
  align-items: flex-start;
  padding: var(--space-s) var(--space-s);
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.3s var(--ease);
}
.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border-color: var(--ac);
}
.why-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--step-0);
}
.why-card h4 {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 500;
  margin-bottom: var(--space-3xs);
}
.why-card p {
  font-size: var(--step--2);
  color: var(--fg3);
  line-height: 1.55;
}

.team {
  padding: var(--space-2xl) var(--grid-gutter);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.team-inner {
  max-width: var(--grid-max-width);
  margin: 0 auto;
}
.team-grid {
  display: grid;
  gap: var(--space-s);
  margin-top: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.tm {
  text-align: center;
  padding: var(--space-m) var(--space-s);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  transition: all 0.3s var(--ease);
}
.tm:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.tm-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ac);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: var(--step--1);
  color: #fff;
  font-weight: 500;
  margin-bottom: var(--space-2xs);
}
.tm h4 {
  font-family: var(--head);
  font-size: var(--step--1);
  font-weight: 600;
}
.tm .role {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--ac);
  letter-spacing: 2px;
  margin-bottom: var(--space-3xs);
}
.tm p {
  font-size: var(--step--2);
  color: var(--fg4);
  line-height: 1.5;
}

.cta {
  padding: var(--space-xl-2xl) var(--grid-gutter);
  text-align: center;
  background: #15142e;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 50% 0%,
    rgba(85, 80, 212, 0.2),
    transparent 60%
  );
  pointer-events: none;
}
.cta h2 {
  font-family: var(--head);
  font-size: var(--step-3);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2xs);
  position: relative;
}
.cta p {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-m);
  letter-spacing: 2px;
  position: relative;
}
.cta a {
  display: inline-block;
  background: #fff;
  color: var(--ac);
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: var(--space-xs) var(--space-m);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
}
.cta a:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.cta a.cta-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gt-sub {
  font-family: var(--body);
  font-size: var(--step--1);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto var(--space-m);
  position: relative;
}
.gt-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}
.gt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}
.gt-form label {
  display: grid;
  gap: var(--space-3xs);
  min-inline-size: 0;
  font-size: var(--step--1);
}
.gt-form input,
.gt-form textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--mono);
  font-size: var(--step-0);
  letter-spacing: 0.3px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: var(--space-xs) var(--space-xs);
  transition: border-color 0.2s;
}
.gt-form textarea {
  display: block;
  width: 100%;
  min-height: 82px;
  resize: vertical;
  margin-bottom: var(--space-xs);
}
.gt-form input::placeholder,
.gt-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}
.gt-form input:focus,
.gt-form textarea:focus {
  outline: 2px solid var(--ac);
  outline-offset: 3px;
  border-color: var(--ac);
}
.gt-form button {
  width: 100%;
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--ac);
  border: none;
  border-radius: 6px;
  padding: var(--space-xs);
  cursor: pointer;
  transition: background-color 0.25s;
}
.gt-form button:enabled:hover {
  background: var(--ac2);
}
.gt-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.gt-form button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .gt-form input,
  .gt-form textarea,
  .gt-form button {
    transition: none;
  }
}
.gt-fine {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-top: var(--space-xs);
}
.gt-success {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  display: none;
}
.gt-success h3 {
  font-family: var(--head);
  font-size: var(--step-0);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2xs);
}
.gt-success p {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.55);
}

.pg-hero {
  padding: calc(4rem + var(--space-xl)) var(--grid-gutter) var(--space-xl);
  max-width: var(--grid-max-width);
  margin: 0 auto;
}
.pg-hero h1 {
  font-family: var(--head);
  font-size: var(--step-4);
  font-weight: 600;
  letter-spacing: -1.5px;
  margin-bottom: var(--space-xs);
  line-height: 1.12;
  max-width: 760px;
}
.pg-hero p {
  font-size: var(--step--1);
  color: var(--fg3);
  line-height: 1.8;
  max-width: 680px;
}
.pg-sec {
  padding: var(--space-xl-2xl) var(--grid-gutter);
  max-width: var(--grid-max-width);
  margin: 0 auto;
}
.pg-w {
  background: var(--white);
}
.pg-split {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}
.pg-split.rev {
  flex-direction: row-reverse;
}
.pg-vis {
  flex: 1.2;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-ph {
  border: 1.5px dashed var(--border2);
  border-radius: 8px;
  margin: var(--space-s);
  padding: var(--space-m) var(--space-m);
  text-align: center;
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg4);
  line-height: 1.6;
  flex: 1;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 12px,
    rgba(0, 0, 0, 0.012) 12px,
    rgba(0, 0, 0, 0.012) 13px
  );
}
.pg-txt {
  flex: 0.8;
}
.pg-txt h2 {
  font-family: var(--head);
  font-size: var(--step-1);
  font-weight: 600;
  margin-bottom: var(--space-2xs);
  letter-spacing: -0.3px;
}
.pg-txt p {
  font-size: var(--step--1);
  color: var(--fg3);
  line-height: 1.75;
  margin-bottom: var(--space-xs);
}
.pg-list {
  list-style: none;
}
.pg-list li {
  font-size: var(--step--2);
  color: var(--fg3);
  padding: var(--space-3xs) 0 var(--space-3xs) var(--space-s);
  position: relative;
  line-height: 1.55;
}
.pg-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--ac);
}
.code-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-s) var(--space-s);
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg3);
  line-height: 1.8;
  overflow-x: auto;
  margin-top: var(--space-s);
}
.ck {
  color: var(--ac);
  font-weight: 600;
}
.cs {
  color: #6b5b3a;
}
.cc {
  color: var(--fg4);
  font-style: italic;
}

.arch {
  margin-top: var(--space-m);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-m);
  text-align: center;
}
.arch-t {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg4);
  letter-spacing: 3px;
  margin-bottom: var(--space-s);
  font-weight: 500;
}
.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xs);
  flex-wrap: wrap;
}
.arch-box {
  font-family: var(--mono);
  font-size: var(--step--2);
  padding: var(--space-2xs) var(--space-xs);
  border-radius: 6px;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.arch-arr {
  font-size: var(--step--1);
  color: var(--border2);
}

.deep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--space-xs);
  margin-top: var(--space-m);
}
.deep-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--space-m);
  background: var(--white);
  transition: all 0.3s var(--ease);
}
.deep-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.deep-card h4 {
  font-family: var(--head);
  font-size: var(--step--1);
  font-weight: 600;
  margin-bottom: var(--space-3xs);
}
.deep-card p {
  font-size: var(--step--2);
  color: var(--fg3);
  line-height: 1.6;
}

.int-row {
  display: flex;
  gap: var(--space-2xs);
  flex-wrap: wrap;
  margin-top: var(--space-xs);
}
.int-tag {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg3);
  letter-spacing: 0.5px;
  padding: var(--space-2xs) var(--space-s);
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  transition: all 0.2s;
}
.int-tag:hover {
  border-color: var(--ac);
  color: var(--ac);
}
.int-tag.soon {
  opacity: 0.6;
}
.int-tag .soon-mini {
  margin-left: var(--space-2xs);
  font-size: var(--step--2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 1px var(--space-3xs);
  vertical-align: middle;
  opacity: 0.85;
}
.fw-row {
  display: flex;
  gap: var(--space-2xs);
  margin-top: var(--space-xs);
  flex-wrap: wrap;
}
.fw-tag {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--ac);
  letter-spacing: 0.5px;
  padding: var(--space-2xs) var(--space-s);
  background: var(--ac-bg);
  border-radius: 5px;
  font-weight: 500;
}

.pr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--space-xs);
  margin-top: var(--space-m);
}
.pr-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--space-m) var(--space-s);
  background: var(--bg);
  transition: all 0.3s var(--ease);
}
.pr-card:hover {
  transform: translateY(-3px);
}
.pr-card.feat {
  border-color: var(--ac);
  background: var(--ac-bg);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.08);
}
.pr-tier {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 600;
  color: var(--ac);
  letter-spacing: 2px;
  margin-bottom: var(--space-2xs);
}
.pr-price {
  font-family: var(--mono);
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -1.5px;
}
.pr-per {
  font-size: var(--step--2);
  color: var(--fg4);
}
.pr-ag {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg4);
  margin: var(--space-2xs) 0 var(--space-s);
  letter-spacing: 0.5px;
}
.pr-list {
  list-style: none;
}
.pr-list li {
  font-size: var(--step--2);
  color: var(--fg3);
  padding: var(--space-3xs) 0 var(--space-3xs) var(--space-s);
  position: relative;
  line-height: 1.5;
}
.pr-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--ac);
  font-size: var(--step--2);
}

.ab-hero {
  padding: calc(4rem + var(--space-xl)) var(--grid-gutter) var(--space-xl);
  max-width: 720px;
  margin: 0 auto;
}
.ab-hero h1 {
  font-family: var(--head);
  font-size: var(--step-4);
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: var(--space-xs);
  line-height: 1.22;
}
.ab-hero p {
  font-size: var(--step--1);
  color: var(--fg3);
  line-height: 1.8;
}
.ab-m {
  padding: var(--space-l) var(--grid-gutter) var(--space-xl);
  max-width: 720px;
  margin: 0 auto;
  border-left: 2px solid var(--ac);
  padding-left: var(--space-m);
}
.ab-m h2 {
  font-family: var(--head);
  font-size: var(--step-3);
  font-weight: 600;
  margin-bottom: var(--space-2xs);
}
.ab-m p {
  font-size: var(--step--1);
  color: var(--fg3);
  line-height: 1.8;
}

footer {
  padding: var(--space-m) var(--grid-gutter);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer span {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg4);
  letter-spacing: 1px;
}
.fl {
  display: flex;
  gap: var(--space-s);
}
.fl a {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg4);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.fl a:hover {
  color: var(--fg);
}
.fl a svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}
.fl a.fl-ic {
  display: inline-flex;
  align-items: center;
}

@keyframes hPulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
@keyframes hGridFade {
  0%,
  100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes hGridFade2 {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes hShadowPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}
@keyframes hBarGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.pg-hero h1 {
  font-size: var(--step-4) !important;
  line-height: 1.12 !important;
  letter-spacing: -1.2px !important;
}
.ab-hero h1 {
  font-size: var(--step-4) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.8px !important;
}

.pp-vis {
  align-self: center;
  display: flex;
  justify-content: center;
  width: 100%;
}
.pp-vis svg {
  max-width: 560px;
  width: 100%;
  height: auto;
  display: block;
}

#p-home div[style*="min-height:300px"] {
  max-width: 520px;
  margin: 0 auto;
}

.sec-integration svg {
  max-width: 360px;
  margin: 0 auto;
  display: block;
}

.pp-sec [style*="display:flex;gap:var(--space-xl);align-items:flex-start"] {
  flex-direction: column !important;
  gap: var(--space-m) !important;
}
.pp-sec
  [style*="display:flex;gap:var(--space-xl);align-items:flex-start"]
  > div {
  width: 100% !important;
  flex: none !important;
}

.scene [style*="font-size:var(--step-2)"] {
  font-size: var(--step-1) !important;
  letter-spacing: -0.5px !important;
}
.scene [style*="font-size:var(--step-1)"] {
  font-size: var(--step-1) !important;
  letter-spacing: -0.5px !important;
}
.scene [style*="font-size:var(--step--1)"] {
  font-size: var(--step--1) !important;
}

.sec-usecases .uc-scene {
  min-height: 240px;
}
.sec-usecases .uc-scene > svg {
  max-width: 300px;
  margin: 0 auto;
  display: block;
}

.sec-problem .prob-card .prob-vis {
  aspect-ratio: auto;
  padding: var(--space-s);
}
.sec-problem .prob-card .prob-vis svg {
  max-width: 340px;
  margin: 0 auto;
}

.pg-hero + div [style*="min-height:300px"] {
  min-height: 420px;
}

.pp-sec
  [style*="display:flex;align-items:center;justify-content:space-between"] {
  flex-wrap: wrap;
  gap: var(--space-s);
}

@keyframes navSlideDown {
  from {
    transform: translateY(-16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

img,
svg,
iframe,
video {
  max-width: 100%;
  height: auto;
}
table {
  max-width: 100%;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.site-content {
  flex: 1 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
#p-license {
  padding: calc(4rem + var(--space-l)) var(--grid-gutter) var(--space-xl-2xl);
  flex: 1 0 auto;
  background: linear-gradient(180deg, var(--ac-l) 0%, var(--white) 55%);
}
.setup-wrap {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-m-l);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.setup-title {
  font-family: var(--head);
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin: var(--space-3xs) 0 var(--space-2xs);
}
.setup-intro,
.setup-hint,
.setup-help,
.setup-downloads {
  color: var(--fg2);
  font-size: var(--step--1);
  line-height: 1.7;
}
.setup-step {
  margin-top: var(--space-m);
  padding-top: var(--space-m);
  border-top: 1px solid var(--border);
}
.setup-step h2 {
  font-family: var(--head);
  font-size: var(--step-0);
  font-weight: 600;
  margin: var(--space-3xs) 0 var(--space-xs);
}
.setup-platform {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  border: 0;
  margin: var(--space-xs) 0;
}
.setup-platform legend {
  font-size: var(--step--2);
  color: var(--fg3);
  margin-bottom: var(--space-3xs);
}
.setup-platform label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
}
.setup-platform label:has(:checked) {
  background: var(--ac-l);
  border-color: var(--ac);
  color: var(--ac);
}
.setup-platform label:focus-within {
  outline: 2px solid var(--ac);
  outline-offset: 2px;
}
.setup-platform input {
  accent-color: var(--ac);
}
.setup-command {
  font-family: var(--mono);
  font-size: 0.875rem;
  background: #15142e;
  color: #cdd3e8;
  border-radius: 8px;
  padding: var(--space-s);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.6;
  margin: var(--space-xs) 0;
}
.setup-actions {
  display: flex;
  gap: var(--space-2xs);
  flex-wrap: wrap;
  margin: var(--space-xs) 0;
}
.setup-actions .ba,
.setup-actions .bo {
  font-family: var(--body);
  font-size: 0.875rem;
  min-height: 44px;
  cursor: pointer;
}
.setup-actions .ba {
  border: 0;
}
.setup-actions .setup-copy {
  display: grid;
  place-items: center;
}
.setup-copy > span {
  grid-area: 1 / 1;
}
.setup-copy-size {
  visibility: hidden;
}
.setup-hint {
  margin-top: var(--space-xs);
}
.setup-downloads {
  margin-top: var(--space-s);
}
.setup-downloads summary {
  cursor: pointer;
}
.setup-downloads ul {
  padding-left: var(--space-m);
  margin: var(--space-xs) 0;
}
.setup-wrap a:not(.ba):not(.bo) {
  color: var(--ac);
  text-underline-offset: 3px;
}
.setup-help {
  border-top: 1px solid var(--border);
  margin-top: var(--space-m);
  padding-top: var(--space-m);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .bp-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

.site-content img {
  height: auto;
}

.site-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-s);
  position: relative;
}
.site-actions > a {
  flex: 0 0 auto;
  max-width: 100%;
}
.site-split {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-l-xl);
}
.site-split > div {
  flex: 1 1 24rem;
  min-width: 0;
}
.site-split-centered {
  max-width: calc(var(--grid-max-width) - 2 * var(--grid-gutter));
  margin-inline: auto;
  position: relative;
  align-items: center;
}

.site-header {
  --announcement-height: 36px;
  --announcement-offset: 0px;
  --announcement-visible-height: calc(var(--announcement-height) - var(--announcement-offset));
  container: site-header / inline-size;
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: calc(64px + var(--announcement-height));
  width: 100%;
  transform: translateY(calc(-1 * var(--announcement-offset)));
}
.site-header:has(.site-announcement:focus-within) {
  --announcement-visible-height: var(--announcement-height);
  transform: translateY(0);
}
.site-header[data-announcement="hidden"]:not(:has(.site-announcement:focus-within)) .site-announcement {
  visibility: hidden;
}
.site-announcement {
  position: absolute;
  inset: 0 0 auto;
  z-index: 101;
  height: var(--announcement-height);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-s);
  padding: 0 var(--grid-gutter);
  background: #101114;
  color: #e2e4eb;
  border-bottom: 1px solid #424755;
  font-family: var(--body);
  font-size: var(--step--2);
}
.site-announcement a {
  color: #d0c4ff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-announcement a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-announcement a:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 3px;
}
.site-content {
  padding-top: var(--space-l);
}
.site-nav {
  position: absolute;
  inset: var(--announcement-height) 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--grid-gutter);
  background: #ffffffcc;
  backdrop-filter: blur(28px);
  border-bottom: 1px solid #1011140f;
}
.nl {
  color: var(--fg);
  cursor: pointer;
}
.nav-panel {
  display: contents;
}
.nm {
  display: flex;
  align-items: center;
  gap: var(--space-s);
}
.nm a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--fg2);
  text-decoration: none;
  letter-spacing: 0;
  transition: color 0.25s;
}
.nm a:hover,
.nm a.act {
  color: var(--ac);
}
.ne {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}
.nc {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: var(--space-2xs) var(--space-s);
  border-radius: 2px;
  border: 1px solid var(--ac);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s;
}
.nc {
  color: #fff;
  background: #4d36b5;
}
.nc:hover {
  background: var(--ac2);
}
.nh {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ac);
  flex-shrink: 0;
}
.nh span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--ac);
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.nh span:nth-child(1) {
  top: 15px;
}
.nh span:nth-child(2) {
  top: 21px;
}
.nh span:nth-child(3) {
  top: 27px;
}
.site-nav.open .nh span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-nav.open .nh span:nth-child(2) {
  opacity: 0;
}
.site-nav.open .nh span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.site-nav :focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 4px;
}
@container site-header (width < 48rem) {
  .site-announcement > span {
    display: none;
  }
}
.site-nav .nm a,
.site-nav .nc,
.site-start-free {
  font-family: var(--body);
  letter-spacing: 0;
}
.site-nav .nc,
.site-start-free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  border-radius: 999px;
  padding: var(--space-3xs) var(--space-s);
  font-size: var(--step--1);
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
}
.site-nav .nc {
  background: var(--fg);
  border-color: transparent;
}
.site-nav .nc:hover {
  background: #2a2c33;
}
.site-start-free {
  color: var(--fg);
  border: 1px solid var(--border);
}
.site-start-free:hover {
  border-color: var(--fg);
}
@media (pointer: coarse) {
  .site-nav .nc,
  .site-start-free {
    min-height: 2.75rem;
  }
}
.site-nav-group {
  position: relative;
}
.site-nav-group-heading {
  display: flex;
  align-items: center;
  gap: 0;
}
.site-nav-group-heading button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 0 4px;
  width: 1.5rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--fg2);
  cursor: pointer;
}
.site-nav-group-heading svg {
  width: 9px;
  height: 9px;
  transition: transform 180ms ease;
}
.site-nav-group-heading button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.site-nav-submenu {
  position: absolute;
  top: 100%;
  left: -1rem;
  width: max-content;
  min-width: 16rem;
  max-width: min(19rem, calc(100vw - 2 * var(--grid-gutter)));
  padding: var(--space-xs);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  box-shadow: 0 12px 32px #15142e1a;
}
.site-nav .site-nav-submenu a {
  display: block;
  padding: var(--space-2xs);
  border-radius: 4px;
  font-size: var(--step--1);
}
.site-nav .site-nav-submenu a:hover {
  background: var(--ac-l);
}
@media (prefers-reduced-motion: reduce) {
  .site-nav-group-heading svg {
    transition: none;
  }
}
@container site-header (width < 72rem) {
  .site-nav .nh {
    display: block;
  }
  .site-nav .nm,
  .site-nav .ne {
    display: none;
  }
  .site-nav.open .nav-panel {
    display: block;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: var(--space-s) var(--space-m) var(--space-m);
    max-height: calc(100dvh - 64px - var(--announcement-visible-height));
    overflow-y: auto;
  }
  .site-nav.open .nm {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav.open .nm a {
    padding: var(--space-xs) 0;
    font-size: var(--step-0);
    color: var(--fg);
  }
  .site-nav.open .nm a.act {
    color: var(--ac);
  }
  .site-nav.open .ne {
    display: flex;
    flex-wrap: wrap;
    margin-top: var(--space-s);
  }
  .site-nav.open .ne a {
    flex: 1;
    text-align: center;
    white-space: nowrap;
  }
  .site-nav-group-heading {
    justify-content: space-between;
  }
  .site-nav-group-heading button {
    width: 2.75rem;
    justify-content: center;
    padding: 0;
  }
  .site-nav-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-bottom: var(--space-s);
    padding: 0 0 0 var(--space-s);
    border: 0;
    border-left: 2px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-nav.open .nm .site-nav-submenu a {
    padding: var(--space-xs) 0;
    font-size: var(--step-0);
  }
}

.hm-mx {
  max-width: 1100px;
  margin: 0 auto;
}
.hm-link {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--ac);
  text-decoration: none;
  letter-spacing: 0.4px;
  font-weight: 500;
}
.hm-note {
  font-size: var(--step--2);
  color: var(--fg3);
  line-height: 1.6;
  max-width: 680px;
}
:root {
  --head: var(--font-inter-tight), system-ui, sans-serif;
  --body: var(--font-inter), system-ui, sans-serif;
  --mono: var(--font-inter), system-ui, sans-serif;
  --code: var(--font-code), ui-monospace, monospace;
  --fg: #101114;
  --fg2: #3b3d45;
  --fg3: #6b6e78;
  --fg4: #9a9da6;
  --radius: 14px;
}
body {
  font-feature-settings: "cv11", "ss01";
  letter-spacing: -0.005em;
}
.hm-rec,
.pp-code,
.resource-pre,
code,
kbd,
pre {
  font-family: var(--code) !important;
}
.kk {
  font-family: var(--body);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ac);
  margin-bottom: var(--space-xs);
}
.kk,
.kk:not(:empty) {
  text-transform: none;
}
.sh {
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.ba,
.bo {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0;
  border-radius: 999px;
  padding: var(--space-2xs) var(--space-s);
}
.ba {
  background: var(--fg);
  color: #fff;
}
.ba:hover {
  background: #2a2c33;
}
.bo {
  border-color: rgba(16, 17, 20, 0.14);
  background: #fff;
}
.bo:hover {
  border-color: var(--fg);
  color: var(--fg);
}
.cta a {
  border-radius: 999px;
}
.cta a,
.hm-link {
  font-family: var(--body);
  letter-spacing: 0;
}
.hm-link {
  font-weight: 600;
  font-size: var(--step--2);
}
.gt-milestone-header {
  font-family: var(--body);
  font-size: var(--step--2);
  letter-spacing: 0;
}
.gt-milestone-header {
  text-transform: none;
  font-weight: 600;
  color: var(--fg3);
}
.gt-step-title {
  font-family: var(--head);
  font-weight: 600;
}
.gt-hero-demo .gt-screen {
  border-radius: 16px;
  box-shadow:
    0 30px 80px -20px rgba(33, 28, 110, 0.28),
    0 0 0 1px rgba(16, 17, 20, 0.06);
}
.announce {
  background: #101114;
  font-size: var(--step--2);
}
.announce,
.announce b {
  font-family: var(--body);
}
.announce b {
  font-size: var(--step--2);
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  background: hsla(0, 0%, 100%, 0.12);
  border-radius: 999px;
  padding: 2px var(--space-2xs);
}
.announce a,
.announce b {
  font-weight: 600;
}
.hx-sec {
  padding: var(--space-3xl) var(--grid-gutter);
}
.hx-tint {
  background: #f7f7fa;
}
.hx-h2 {
  font-family: var(--head);
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--fg);
  max-width: 760px;
}
.hx-h2-sm {
  font-size: var(--step-3);
}
.hx-head {
  margin-bottom: var(--space-xl);
}
.hx-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-m);
  flex-wrap: wrap;
}
.hx-center {
  text-align: center;
}
.hx-center .hx-h2 {
  margin: 0 auto;
}
.hx-lead {
  font-size: var(--step-0);
  color: var(--fg3);
  line-height: 1.55;
  margin-top: var(--space-s);
  max-width: 460px;
}
.hx-links {
  display: flex;
  gap: var(--space-m);
  flex-wrap: wrap;
  margin-top: var(--space-m);
}
.hx-split {
  display: grid;
  grid-gap: var(--space-xl);
  gap: var(--space-xl);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
}
.hx-problem-list {
  list-style: none;
  counter-reset: problem;
}
.hx-problem-list li {
  display: flex;
  gap: var(--space-s);
  align-items: baseline;
  font-family: var(--head);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding: var(--space-s) 0;
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
}
.hx-problem-list li:first-child {
  border-top: 1px solid rgba(16, 17, 20, 0.08);
}
.hx-problem-list li::before {
  content: counter(problem, decimal-leading-zero);
  counter-increment: problem;
  font-family: var(--body);
  font-size: var(--step--2);
  font-weight: 600;
  color: var(--ac);
  min-width: 24px;
}
.hx-fit {
  display: grid;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--space-2xs);
}
.hx-fit > div {
  padding: var(--space-s);
}
.hx-fit > div + div {
  border-top: 1px solid var(--border);
}
.hx-fit-k {
  display: block;
  font-size: var(--step--2);
  font-weight: 600;
  color: var(--fg3);
  margin-bottom: var(--space-xs);
}
.hx-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
}
.hx-chips li {
  font-style: normal;
  font-size: var(--step--2);
  font-weight: 500;
  color: var(--fg);
  background: #f2f2f6;
  border-radius: 999px;
  padding: var(--space-3xs) var(--space-xs);
}
.hx-chips li.soon {
  color: var(--fg3);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(16, 17, 20, 0.12);
}
.hx-start {
  padding: var(--space-3xl) var(--grid-gutter);
  background: #101114;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hx-start:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(85, 80, 212, 0.18), transparent 60%);
  pointer-events: none;
}
.hx-start .hm-mx {
  position: relative;
}
.hx-start .kk {
  color: #b9b3f5;
}
.hx-start .hx-h2 {
  color: #fff;
}
.hx-start .hx-lead {
  color: #c0c2ce;
}
.hx-problem {
  border-bottom: 1px solid var(--border);
}
.hx-routes {
  display: grid;
  grid-gap: var(--space-s);
  gap: var(--space-s);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}
.hx-route {
  display: flex;
  flex-direction: column;
  background: hsla(0, 0%, 100%, 0.05);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  border-radius: var(--space-2xs);
  padding: var(--space-l);
}
.hx-route-ent {
  background: #242239;
  border-color: rgba(185, 179, 245, 0.35);
}
.hx-route h3 {
  font-family: var(--head);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2xs);
}
.hx-route > p {
  color: hsla(0, 0%, 100%, 0.7);
  font-size: var(--step--1);
  line-height: 1.5;
}
.hx-route ul {
  list-style: none;
  margin: var(--space-m) 0;
  display: grid;
  grid-gap: var(--space-2xs);
  gap: var(--space-2xs);
}
.hx-route li {
  font-size: var(--step--1);
  color: hsla(0, 0%, 100%, 0.85);
  padding-left: var(--space-m);
  position: relative;
}
.hx-route li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(185, 179, 245, 0.2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23C9C2FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    50%/12px no-repeat;
}
.hx-next {
  font-size: var(--step--2);
  color: hsla(0, 0%, 100%, 0.55);
  margin-bottom: var(--space-m);
}
.hx-btn {
  margin-top: auto;
  align-self: flex-start;
  background: #fff;
  color: #101114;
  font-weight: 600;
  font-size: var(--step--1);
  border-radius: 999px;
  padding: var(--space-2xs) var(--space-s);
  text-decoration: none;
}
.hx-btn-light {
  background: #8b7cf6;
  color: #fff;
}
.hx-news {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.hx-news .hx-head {
  margin-bottom: var(--space-m);
}
.hx-news-list {
  list-style: none;
  display: grid;
  grid-gap: var(--space-s);
  gap: var(--space-s);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.hx-news-list li {
  border-top: 1px solid var(--border);
  padding: var(--space-m) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.hx-news-list time {
  font-size: var(--step--2);
  color: var(--fg3);
  font-weight: 500;
}
.hx-news-list h3 {
  font-family: var(--head);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.hx-news-list h3 a {
  color: var(--fg);
  text-decoration: none;
}
.hx-news-list h3 a:hover {
  color: var(--ac);
}
footer span {
  font-family: var(--body);
  letter-spacing: 0;
}
.designer-home a:focus-visible,
.designer-home button:focus-visible,
.designer-home summary:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 4px;
}
#p-home [id],
#p-product,
#p-product [id],
#p-pricing,
#p-pricing [id],
#p-about,
#p-about [id],
#p-license,
#p-license [id] {
  scroll-margin-top: var(--space-3xl);
}
@media (prefers-reduced-motion: reduce) {
  .designer-home *,
  .designer-home *::before,
  .designer-home *::after {
    animation: none !important;
    transition: none !important;
  }
}

.news-list .news-item {
  padding: var(--space-m) 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: var(--space-2xl);
}
.news-list .news-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.news-list time {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 1px;
  color: var(--fg3);
}
.news-list h2 {
  margin-top: var(--space-3xs) !important;
  padding-top: 0;
  border-top: 0;
}
.news-list .news-item:target h2 {
  color: var(--ac);
}
.hx-head-row {
  flex-wrap: wrap;
}

.hx-company {
  background: #11121c;
  color: #f4f4fa;
}
.hx-company .hx-h2 {
  color: inherit;
}
.hx-company .kk,
.hx-company .hm-link {
  color: #bbb5ff;
}
.hx-company .hx-lead {
  color: #b6b7c7;
}
.hx-company-intro {
  text-align: center;
}
.hx-company-intro .hx-h2,
.hx-company-intro .hx-lead {
  margin-inline: auto;
}

.hero-product {
  width: 100%;
  max-width: var(--grid-max-width);
  min-width: 0;
  text-align: left;
}
.company-founder {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-l-xl);
}
.company-founder-bio {
  flex: 1 1 28rem;
  min-width: 0;
}
.company-founder-bio p {
  max-width: 70ch;
  margin-block: var(--space-s);
  font-size: var(--step--1);
  line-height: 1.7;
  color: var(--fg2);
}
.company-founder-photo {
  display: block;
  width: min(100%, 12rem);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--space-2xs);
  margin-bottom: var(--space-m);
}

.hx-value-band {
  background: linear-gradient(
    180deg,
    #4c6fff00 0%,
    #4c6fff14 30%,
    #4c6fff30 100%
  );
}
.hx-stats {
  padding: var(--space-xs) var(--grid-gutter) var(--space-xl-2xl);
}
.hx-stats-grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}
.hx-stats-grid > div {
  display: flex;
  flex-direction: column;
  flex: 1 1 min(100%, 16rem);
  padding: var(--space-l) var(--space-s) var(--space-xs);
  text-align: center;
}
.hx-num {
  order: -1;
  font: 700 var(--step-5) var(--head);
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(180deg, #101114 40%, #5550d4 140%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hx-num span {
  font-size: var(--step-0);
  letter-spacing: 0;
}
.hx-cap {
  font-size: var(--step--1);
  color: var(--fg3);
  margin-top: var(--space-xs);
}
.hx-company-link {
  margin-top: var(--space-l);
  text-align: center;
}

:root {
  --step--2: clamp(0.7813rem, 0.7736rem + 0.0341vw, 0.8rem);
  --step--1: clamp(0.9375rem, 0.9119rem + 0.1136vw, 1rem);
  --step-0: clamp(1.125rem, 1.0739rem + 0.2273vw, 1.25rem);
  --step-1: clamp(1.35rem, 1.2631rem + 0.3864vw, 1.5625rem);
  --step-2: clamp(1.62rem, 1.4837rem + 0.6057vw, 1.9531rem);
  --step-3: clamp(1.944rem, 1.7405rem + 0.9044vw, 2.4414rem);
  --step-4: clamp(2.3328rem, 2.0387rem + 1.3072vw, 3.0518rem);
  --step-5: clamp(2.7994rem, 2.384rem + 1.8461vw, 3.8147rem);
  --space-3xs: clamp(0.3125rem, 0.3125rem + 0vw, 0.3125rem);
  --space-2xs: clamp(0.5625rem, 0.5369rem + 0.1136vw, 0.625rem);
  --space-xs: clamp(0.875rem, 0.8494rem + 0.1136vw, 0.9375rem);
  --space-s: clamp(1.125rem, 1.0739rem + 0.2273vw, 1.25rem);
  --space-m: clamp(1.6875rem, 1.6108rem + 0.3409vw, 1.875rem);
  --space-l: clamp(2.25rem, 2.1477rem + 0.4545vw, 2.5rem);
  --space-xl: clamp(3.375rem, 3.2216rem + 0.6818vw, 3.75rem);
  --space-2xl: clamp(4.5rem, 4.2955rem + 0.9091vw, 5rem);
  --space-3xl: clamp(6.75rem, 6.4432rem + 1.3636vw, 7.5rem);
  --space-3xs-2xs: clamp(0.3125rem, 0.1847rem + 0.5682vw, 0.625rem);
  --space-2xs-xs: clamp(0.5625rem, 0.4091rem + 0.6818vw, 0.9375rem);
  --space-xs-s: clamp(0.875rem, 0.7216rem + 0.6818vw, 1.25rem);
  --space-s-m: clamp(1.125rem, 0.8182rem + 1.3636vw, 1.875rem);
  --space-m-l: clamp(1.6875rem, 1.3551rem + 1.4773vw, 2.5rem);
  --space-l-xl: clamp(2.25rem, 1.6364rem + 2.7273vw, 3.75rem);
  --space-xl-2xl: clamp(3.375rem, 2.7102rem + 2.9545vw, 5rem);
  --space-2xl-3xl: clamp(4.5rem, 3.2727rem + 5.4545vw, 7.5rem);
  --space-s-l: clamp(1.125rem, 0.5625rem + 2.5vw, 2.5rem);
  --grid-max-width: 77.5rem;
  --grid-gutter: var(--space-s-l);
  --grid-columns: 12;
}
.designer-home {
  font-size: var(--step-0);
}
.hm-mx {
  max-width: calc(var(--grid-max-width) - 2 * var(--grid-gutter));
}
.hx-sec,
.hx-start {
  padding: var(--space-xl-2xl) var(--grid-gutter);
}
.hx-lead {
  font-size: var(--step-0);
  max-width: min(100%, 48ch);
  overflow-wrap: anywhere;
}
.hm-link {
  font-size: var(--step--1);
}
.kk {
  font-size: var(--step--2);
}
.hx-h2 {
  font-size: var(--step-3);
  max-width: 24ch;
  line-height: 1.12;
}
.hx-h2-sm {
  font-size: var(--step-3);
}
.hx-head {
  margin-bottom: var(--space-l-xl);
}
.hx-split {
  gap: var(--space-l-xl);
}

.hx-news-list,
.hx-routes {
  gap: var(--space-m-l);
}

.hx-route {
  padding: var(--space-m-l);
}

.hx-route h3 {
  font-size: var(--step-1);
}

.hx-route > p,
.hx-route li {
  font-size: var(--step-0);
  line-height: 1.65;
}
.hx-fit > div,
.hx-news-list li {
  padding: var(--space-m);
}
.hx-chips li,
.hx-fit-k,
.hx-news-list time,
.hx-next,
.hm-link {
  font-size: var(--step--1);
}
.hx-news-list time {
  color: var(--fg3);
}
.hx-news-list h3 {
  font-size: var(--step-1);
}
.hx-problem-list li {
  font-size: var(--step-0);
  padding-block: var(--space-s);
}
.hx-next {
  color: #c0c2ce;
}
.ba,
.bo,
.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  font-size: var(--step--1);
  padding: var(--space-3xs) var(--space-s);
  line-height: 1.4;
  font-weight: 500;
}
@media (pointer: coarse) {
  .ba,
  .bo,
  .hx-btn {
    min-height: 2.75rem;
  }
}
.hx-btn-light {
  background: #c9c2ff;
  color: #17142e;
}
.site-nav {
  padding-inline: var(--grid-gutter);
}
.site-announcement {
  gap: var(--space-s);
  padding-inline: var(--grid-gutter);
}
.hx-route-ent .hx-btn {
  background: #c9c2ff;
  color: #17142e;
}
.hx-route .hx-next {
  margin-top: auto;
  padding-top: var(--space-s);
}
.hx-route p {
  max-width: 55ch;
}
.news-page .hx-lead {
  font-size: var(--step--1);
}

.site {
  isolation: isolate;
  background: #0b0c0f;
}
.site-content {
  overflow: clip;
  position: relative;
  z-index: 1;
  background: var(--white);
  box-shadow: 0 12px 24px -16px #0006;
}
.site-content::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: var(--space-s);
  pointer-events: none;
  background:
    radial-gradient(
        circle at top right,
        transparent var(--space-s),
        #0b0c0f calc(var(--space-s) + 0.5px)
      )
      left bottom / var(--space-s) var(--space-s) no-repeat,
    radial-gradient(
        circle at top left,
        transparent var(--space-s),
        #0b0c0f calc(var(--space-s) + 0.5px)
      )
      right bottom / var(--space-s) var(--space-s) no-repeat;
}
.site-foot {
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  display: block;
  border: 0;
  text-align: left;
  background: #0b0c0f;
  color: #b9bbc5;
  padding: var(--space-xl) var(--grid-gutter) var(--space-m);
}
.site-foot[data-footer-mode="reveal"] {
  position: sticky;
  bottom: 0;
}
.site-foot[data-footer-mode]:focus-within {
  position: relative;
}
.site-foot-grid {
  max-width: calc(var(--grid-max-width) - 2 * var(--grid-gutter));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--space-m-l);
}
.site-foot-brand {
  align-self: start;
}
.site-foot-col {
  min-width: 0;
}
.site-foot-brand img {
  height: 1.375rem;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-foot h2 {
  font: 600 var(--step--1) var(--body);
  color: #fff;
  margin-bottom: var(--space-s);
}
.site-foot ul {
  list-style: none;
  display: grid;
  gap: var(--space-xs);
}
.site-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  color: #b9bbc5;
  font-size: var(--step--1);
  text-decoration: none;
  line-height: 1.5;
}
.site-foot a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-foot a:focus-visible {
  outline: 2px solid #b9b3f5;
  outline-offset: 4px;
}
.site-foot-base {
  max-width: calc(var(--grid-max-width) - 2 * var(--grid-gutter));
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-s);
  border-top: 1px solid #ffffff20;
  display: flex;
  justify-content: space-between;
  gap: var(--space-s);
  flex-wrap: wrap;
  font-size: var(--step--1);
}
.site-foot-legal,
.site-foot-social {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  flex-wrap: wrap;
}
.site-foot-social a {
  width: 2.75rem;
  height: 2.75rem;
  justify-content: center;
}
.site-foot-social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}
@supports (container-type: inline-size) {
  .site-foot {
    container: site-footer / inline-size;
  }
  .site-foot-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@container site-footer (width < 64rem) {
  .site-foot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .site-foot-brand {
    grid-column: 1 / -1;
  }
}
@container site-footer (width < 40rem) {
  .site-foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-m) var(--space-s);
  }
  .site-foot h2 {
    margin-bottom: var(--space-3xs);
  }
  .site-foot ul {
    gap: 0;
  }
  .site-foot a {
    min-height: 2.75rem;
    padding-block: var(--space-3xs);
    font-size: 0.875rem;
  }
  .site-foot-col a {
    display: flex;
    overflow-wrap: anywhere;
  }
  .site-foot-base {
    margin-top: var(--space-m);
    flex-direction: column;
    gap: var(--space-2xs);
  }
  .site-foot-legal {
    gap: 0 var(--space-s);
  }
  .site-foot-legal span {
    flex-basis: 100%;
    color: inherit;
  }
  .site-foot-social {
    gap: var(--space-2xs);
  }
  .site-foot-social a {
    border: 1px solid #ffffff20;
    border-radius: 50%;
  }
}
@media (width < 48rem) {
  .site-foot {
    padding-block: var(--space-l) var(--space-m);
  }
}
@media (pointer: coarse) {
  .site-foot a {
    min-height: 2.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-foot[data-footer-mode] {
    position: relative;
  }
}

:root {
  --motion-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-response: 160ms;
}
.site
  :is(
    .ba,
    .bo,
    .hx-btn,
    .nc,
    .gp-button,
    .site-start-free,
    .guide-control,
    .nh
  ) {
  transition:
    transform var(--motion-response) var(--motion-ease),
    box-shadow var(--motion-response) ease,
    background-color var(--motion-response) ease,
    border-color var(--motion-response) ease,
    color var(--motion-response) ease;
}
.hm-link {
  display: inline-flex;
  text-decoration: none;
  gap: var(--space-3xs);
  transition: color var(--motion-response) ease;
}
.hm-link-arrow {
  transition: transform var(--motion-response) var(--motion-ease);
}
a.resource-card {
  transition:
    transform var(--motion-response) var(--motion-ease),
    border-color 180ms ease,
    box-shadow var(--motion-response) ease;
}
@media (hover: hover) and (pointer: fine) {
  :is(.ba, .bo, .hx-btn, .nc, .gp-button, .site-start-free):not(
      :disabled
    ):hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 12px -8px #11121c66;
  }
  .hm-link:hover .hm-link-arrow {
    transform: translateX(3px);
  }
  a.resource-card:hover {
    transform: translateY(-2px);
    border-color: var(--ac);
    box-shadow: 0 12px 28px -20px #5550d480;
  }
}
.site
  :is(
    .ba,
    .bo,
    .hx-btn,
    .nc,
    .gp-button,
    .site-start-free,
    .guide-control,
    .nh
  ):not(:disabled):active {
  transform: scale(0.98);
  box-shadow: none;
  transition-duration: 70ms;
}
@media (prefers-reduced-motion: no-preference) {
  [data-enter-state="entering"]:not(:focus-within) {
    animation: section-arrive 440ms var(--motion-ease);
  }
}
.site-nav-submenu {
  opacity: 1;
  transform: none;
  transition:
    opacity 120ms ease,
    transform 160ms var(--motion-ease),
    display 160ms allow-discrete;
}
.site-nav-submenu[hidden] {
  display: none;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}
@starting-style {
  .site-nav-submenu:not([hidden]) {
    opacity: 0;
    transform: translateY(-4px);
  }
}
@keyframes section-arrive {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site
    :is(
      .ba,
      .bo,
      .hx-btn,
      .nc,
      .gp-button,
      .site-start-free,
      .guide-control,
      .nh,
      .hm-link,
      a.resource-card
    ),
  .hm-link-arrow {
    transition: none !important;
    transform: none !important;
  }
  [data-enter-state="pending"],
  [data-enter-state="entering"] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .site-nav-submenu,
  .site-nav .nm a,
  .site-nav .nh span {
    transition: none !important;
  }
}

.resource-shell {
  --surface-warm: var(--bg2);
  background: var(--white);
  color: var(--fg);
  padding-top: 64px;
  flex: 1;
}

.resource-page {
  max-width: var(--grid-max-width);
  margin: 0 auto;
  width: 100%;
  padding: var(--space-m-l) var(--grid-gutter) var(--space-xl-2xl);
}

.resource-page-reading {
  max-width: calc(46rem + 2 * var(--grid-gutter));
}

.resource-crumb {
  position: static;
  inset: auto;
  z-index: auto;
  height: auto;
  padding: 0;
  border-bottom: 0;
  background: none;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  font-size: var(--step--2);
  color: var(--fg4);
  margin-bottom: var(--space-s);
  font-family: var(--mono);
}
.resource-crumb a {
  color: var(--fg3);
  text-decoration: none;
}
.resource-crumb a:hover {
  color: var(--fg);
}

.resource-head {
  margin-bottom: var(--space-m);
}
.resource-head h1 {
  font-family: var(--head);
  font-weight: 600;
  font-size: var(--step-4);
  letter-spacing: -0.5px;
  line-height: 1.12;
  margin: 0;
}
.resource-head .desc {
  font-size: var(--step-0);
  color: var(--fg2);
  line-height: 1.6;
  max-width: 40rem;
  margin-top: var(--space-3xs);
}

.resource-grid {
  display: grid;
  gap: var(--space-s);
  margin-top: var(--space-m);
}
.resource-grid.c2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.resource-grid.c3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.resource-card {
  min-width: 0;
  padding: var(--space-s);
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 10px;
}
a.resource-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
a.resource-card:hover {
  border-color: var(--border2);
  transform: translateY(-1px);
}
.resource-card h2 {
  font-family: var(--head);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.3;
  margin: 0 0 var(--space-2xs);
}
.resource-card p {
  font-size: var(--step--2);
  color: var(--fg2);
  line-height: 1.6;
  margin: 0;
}
.resource-card .kk {
  margin-bottom: var(--space-2xs);
}
.resource-card .arrow {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--ac);
  margin-top: var(--space-xs);
  display: inline-block;
}

.wbadge {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 2px var(--space-2xs);
  border-radius: 999px;
  vertical-align: middle;
}
.wbadge-now {
  color: var(--pass);
  background: var(--pass-bg);
  border: 1px solid #cfe3d6;
}
.wbadge-soon {
  color: var(--fg3);
  background: var(--bg3);
  border: 1px solid var(--border);
}

.resource-prose {
  max-width: 46rem;
  font-size: var(--step-0);
  color: var(--fg);
  line-height: 1.7;
}
.resource-prose > p {
  color: var(--fg2);
  margin: 0 0 var(--space-s);
}
.resource-prose h2 {
  font-family: var(--head);
  font-weight: 600;
  font-size: var(--step-1);
  letter-spacing: -0.4px;
  margin: var(--space-l) 0 var(--space-xs);
  padding-top: var(--space-s);
  border-top: 1px solid var(--border);
}
.resource-prose h3 {
  font-family: var(--head);
  font-weight: 600;
  font-size: var(--step-0);
  margin: var(--space-s) 0 var(--space-2xs);
}
.resource-prose ul {
  margin: 0 0 var(--space-s);
  padding-left: 0;
  list-style: none;
}
.resource-prose ul li {
  position: relative;
  padding-left: var(--space-s);
  margin-bottom: var(--space-2xs);
  color: var(--fg2);
  line-height: 1.6;
}
.resource-prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac);
}
.resource-prose b,
.resource-prose strong {
  color: var(--fg);
}
.resource-prose a {
  color: var(--ac);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ac-bg);
}
.resource-prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg2);
  color: var(--fg);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.resource-prose .note {
  background: var(--ac-l);
  border: 1px solid var(--ac-bg);
  border-left: 3px solid var(--ac);
  border-radius: 8px;
  padding: var(--space-xs) var(--space-s);
  font-size: var(--step--2);
  color: var(--fg2);
  line-height: 1.6;
  margin: 0 0 var(--space-s);
}
.resource-prose .note b {
  color: var(--fg);
}

.resource-prose .tbl-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: var(--space-2xs) 0 var(--space-s);
  max-width: none;
}
.resource-prose table {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
  font-size: var(--step--2);
}
.resource-prose th,
.resource-prose td {
  text-align: left;
  padding: var(--space-2xs) var(--space-xs);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.45;
}
.resource-prose thead th {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--fg3);
  background: var(--surface-warm);
}
.resource-prose thead th.now {
  color: var(--pass);
}
.resource-prose tbody td:first-child,
.resource-prose tbody th:first-child {
  font-weight: 600;
  color: var(--fg);
  background: var(--surface-warm);
}
.resource-prose tbody tr:hover td {
  background: var(--ac-l);
}
.resource-prose .soon {
  color: var(--fg4);
  font-style: italic;
}

.legal-doc {
  max-width: 720px;
}
.legal-doc h1 {
  font-family: var(--head);
  font-size: var(--step-4);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: var(--space-2xs);
}
.legal-doc .meta {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg3);
  margin-bottom: var(--space-l);
}
.legal-doc h2 {
  font-family: var(--head);
  font-size: var(--step-1);
  font-weight: 600;
  margin: var(--space-l) 0 var(--space-xs);
}
.legal-doc p,
.legal-doc li {
  color: var(--fg2);
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}
.legal-doc ul {
  padding-left: var(--space-s);
  margin-bottom: var(--space-xs);
}
.legal-doc strong {
  color: var(--fg);
}
.legal-doc a {
  color: var(--ac);
  text-underline-offset: 2px;
}
.legal-doc table {
  border-collapse: collapse;
  width: 100%;
  margin: var(--space-s) 0;
  font-size: var(--step--2);
}
.legal-doc th,
.legal-doc td {
  border: 1px solid var(--border);
  padding: var(--space-2xs) var(--space-xs);
  text-align: left;
  vertical-align: top;
}
.legal-doc th {
  background: var(--bg2);
  font-family: var(--mono);
  font-size: var(--step--2);
}
.legal-doc .draft {
  background: var(--amber-bg);
  border: 1px solid var(--amber);
  border-radius: 6px;
  padding: var(--space-xs) var(--space-s);
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--fg2);
  margin-bottom: var(--space-l);
}

.product-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: 3rem minmax(0, 1fr);
  border-radius: inherit;
  overflow: hidden;
  background: #f2f2f6;
}
.product-skeleton-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.product-skeleton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-s);
  padding: var(--space-xs);
  border-bottom: 1px solid var(--border);
  background: #fbfbfd;
}
.product-skeleton span:not(.product-skeleton-label) {
  display: block;
  height: 0.75rem;
  border-radius: 0.25rem;
  background: #dedee7;
  animation: product-loading 1.4s ease-in-out infinite alternate;
}
.product-skeleton-header span {
  width: 6rem;
}
.product-skeleton-body {
  display: grid;
  grid-template-columns: 18% minmax(0, 1fr);
  min-height: 0;
}
.product-skeleton-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  padding: var(--space-s) var(--space-xs);
}
.product-skeleton-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  padding: var(--space-s);
  overflow: hidden;
}
.product-skeleton-title {
  display: grid;
  gap: var(--space-xs);
}
.product-skeleton-title span:first-child {
  width: 35%;
  height: 1.5rem;
}
.product-skeleton-title span:last-child {
  width: 60%;
}
.product-skeleton-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xs);
}
.product-skeleton .product-skeleton-cards span {
  height: 5rem;
  background: #fafafd;
  border: 1px solid var(--border);
}
.product-skeleton-table {
  display: grid;
  gap: var(--space-s);
  padding: var(--space-s);
  border: 1px solid var(--border);
  border-radius: var(--space-2xs);
  background: #fafafd;
}
.product-skeleton-table > div {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-s);
}
@keyframes product-loading {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-skeleton span {
    animation: none !important;
  }
}

/* The interactive incident demo as a marketing page: site nav (marketing.css),
   the runner (one agent + its reckless order + a play button that narrates the
   catch), the embedded live application, and a closing CTA. Uses the global
   design tokens from marketing.css and .gt-badge from incidents/observatory.css. */

/* ===== BODY BAND: runner + embedded application ===== */
/* The runner is the top of the page now (no hero), so the band clears the fixed
   site nav itself. */
.demo-body {
  background: var(--bg);
  padding: calc(4rem + var(--space-xl)) var(--grid-gutter) var(--space-xl-2xl);
}
.demo-wrap {
  max-width: var(--grid-max-width);
  margin: 0 auto;
}

/* ===== CONSOLE: runner card, then the app divider, then the stage ===== */
.demo-console {
  container: demo-console / inline-size;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* The dare card is the whole on-load view above the app: a one-line framing, the
   agent picker, the order it will carry out, and one play button. */
.demo-dare {
  padding-block: var(--space-s);
}
.demo-dare-intro {
  font-family: var(--head);
  font-size: var(--step-3);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.15;
  margin: 0 0 var(--space-3xs);
  max-width: 720px;
}
.demo-dare-note {
  font-family: var(--body);
  font-size: var(--step--1);
  color: var(--fg3);
  line-height: 1.5;
  margin: 0 0 var(--space-s);
  max-width: 720px;
}

/* The scenario picker: a bordered, filled select control (its value is the
   scenario name) with a caret that rotates open, so it reads unmistakably as a
   dropdown rather than a heading. */
.demo-pick {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.demo-pick-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  max-width: 100%;
  min-height: 2.5rem;
  padding: var(--space-3xs) var(--space-xs);
  font-family: var(--head);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.15;
  color: var(--fg);
  text-align: left;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.15s var(--ease),
    border-color 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}
.demo-pick-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-pick-trigger:hover:not(:disabled) {
  background: var(--white);
  border-color: var(--ac);
}
.demo-pick-trigger:focus-visible,
.demo-pick-trigger[aria-expanded="true"] {
  outline: none;
  background: var(--white);
  border-color: var(--ac);
  box-shadow: 0 0 0 3px var(--ac-l);
}
.demo-pick-trigger:disabled {
  cursor: default;
  color: var(--fg2);
}
.demo-pick-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  padding: var(--space-3xs);
  border-radius: 5px;
  color: var(--fg3);
  background: var(--white);
  border: 1px solid var(--border);
  transition:
    transform 0.18s var(--ease),
    color 0.15s var(--ease);
}
.demo-pick-trigger:hover:not(:disabled) .demo-pick-chevron,
.demo-pick-trigger[aria-expanded="true"] .demo-pick-chevron {
  color: var(--ac);
  border-color: var(--ac-bg);
}
.demo-pick-trigger[aria-expanded="true"] .demo-pick-chevron {
  transform: rotate(180deg);
}
.demo-pick-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
}
.demo-pick-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 31;
  margin: 0;
  padding: var(--space-3xs);
  max-width: min(420px, 90vw);
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow:
    0 4px 10px rgba(20, 20, 45, 0.06),
    0 18px 44px rgba(20, 20, 45, 0.16);
  animation: demoMenuIn 0.16s var(--ease);
  min-width: 0;
  width: 100%;
  max-height: min(60svh, 28rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@keyframes demoMenuIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.demo-pick-item {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  width: 100%;
  padding: var(--space-2xs) var(--space-xs);
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s var(--ease);
}
.demo-pick-item:hover {
  background: var(--bg2);
}
.demo-pick-item.sel {
  background: var(--ac-l);
}
.demo-pick-item:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--ac-l);
}
.demo-pick-item-name {
  flex: 1;
  min-width: 0;
  font-family: var(--head);
  font-size: var(--step--1);
  font-weight: 400;
  color: var(--fg2);
}
.demo-pick-item.sel .demo-pick-item-name {
  font-weight: 600;
  color: var(--fg);
}
.demo-pick-item-check {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--ac);
}

.demo-dare-orders {
  display: grid;
}
.demo-dare-order {
  grid-area: 1 / 1;
  margin: var(--space-xs) 0 0;
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg);
  max-width: 960px;
  text-wrap: pretty;
}
.demo-play {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  border: 1px solid transparent;
  min-height: 2.5rem;
  padding: var(--space-3xs) var(--space-s);
  font-size: var(--step--1);
  line-height: 1.4;
  font-weight: 500;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(28, 25, 110, 0.16),
    0 4px 12px rgba(66, 60, 210, 0.16);
}
.demo-play:disabled {
  cursor: default;
  box-shadow: none;
}
.demo-play-glyph {
  width: 11px;
  height: 13px;
  flex-shrink: 0;
}
.demo-play-spin {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: demoSpin 0.7s linear infinite;
}
@keyframes demoSpin {
  to {
    transform: rotate(360deg);
  }
}

.demo-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--space-s);
  list-style: none;
  margin: var(--space-xs) 0;
  padding: 0;
}
.demo-step {
  padding: var(--space-s);
  border-top: 2px solid var(--border);
  border-radius: 0 0 var(--space-2xs) var(--space-2xs);
  color: var(--fg3);
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.demo-step.active {
  background: var(--ac-bg);
  border-color: var(--ac);
  color: var(--fg);
}
.demo-step.complete {
  color: var(--fg2);
}
.demo-step-heading {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-bottom: var(--space-2xs);
}
.demo-step-number {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex: none;
  font-size: var(--step--2);
}
.demo-step.active .demo-step-number {
  background: var(--ac);
  border-color: var(--ac);
  color: var(--white);
}
.demo-step-status {
  font-size: var(--step--2);
}
.demo-step p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.5;
  min-height: 7.5em;
}
@media (prefers-reduced-motion: reduce) {
  .demo-step {
    transition: none;
  }
  .demo-outcome {
    animation: none;
  }
}

.demo-outcome {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-s);
  margin-top: var(--space-s);
  padding: var(--space-xs) var(--space-s);
  background: #eef3ed;
  border: 1px solid rgba(84, 129, 100, 0.22);
  border-radius: 8px;
  animation: demoFadeUp 0.4s var(--ease);
}
@keyframes demoFadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.demo-outcome-mark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #548164;
  color: #fff;
}
.demo-outcome-mark svg {
  width: 12px;
  height: 12px;
}
.demo-outcome-label {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #548164;
}
.demo-outcome-text {
  flex: 1 1 260px;
  min-width: 0;
  font-family: var(--body);
  font-size: var(--step--2);
  color: var(--fg);
  line-height: 1.5;
}
.demo-error {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--warm);
  margin: var(--space-xs) 0 0;
}

/* ===== STAGE: the embedded application ===== */
.demo-stage {
  container: demo-stage / inline-size;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: var(--space-2xs);
  background: var(--white);
  overflow: hidden;
  min-width: 0;
}
.demo-stage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  padding: var(--space-2xs) 0;
  border-bottom: 0;
  background: transparent;
}
.demo-stage-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 2.5rem;
}
.demo-stage-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
}
.demo-playback-control {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}
.demo-stage-open {
  display: inline-flex;
  align-items: center;
  font-family: var(--body);
  font-size: var(--step--2);
  color: var(--fg2);
  text-decoration: none;
  white-space: nowrap;
}
.demo-stage-open,
.demo-stage-fs,
.demo-stage-reset {
  min-height: 2.5rem;
  font-family: var(--body);
  font-size: var(--step--2);
  color: var(--fg2);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--space-2xs);
  padding: var(--space-3xs) var(--space-2xs);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.demo-stage-open:hover:not(:disabled),
.demo-stage-fs:hover:not(:disabled),
.demo-stage-reset:hover:not(:disabled) {
  background: var(--ac-bg);
  color: var(--fg);
}
.demo-stage-open:disabled,
.demo-stage-reset:disabled {
  opacity: 0.5;
  cursor: default;
}
.demo-stage-view {
  border-radius: var(--space-2xs);
  box-shadow: 0 16px 48px rgb(16 17 20 / 8%);
  position: relative;
  background: var(--bg3);
  overflow: hidden;
  height: min(75svh, 48rem);
  min-height: 22.5rem;
}
.demo-stage:fullscreen {
  border: 0;
  border-radius: 0;
}
.demo-stage:fullscreen .demo-stage-view {
  height: auto;
  flex: 1;
}
.demo-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--demo-frame-width, 100%);
  height: var(--demo-frame-height, 100%);
  transform: scale(var(--demo-frame-scale, 1));
  transform-origin: 0 0;
  max-width: none;
  border: 0;
  visibility: hidden;
  background: var(--white);
}
.demo-frame.on {
  visibility: visible;
}
.demo-stage-empty {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-m);
  text-align: center;
  font-family: var(--mono);
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--fg2);
}

/* ===== CLOSING CTA (dark bookend) ===== */
.demo-cta {
  background: #15142e;
  color: #fff;
  padding: var(--space-xl);
  padding-inline: var(--grid-gutter);
}
.demo-cta-in {
  max-width: 1460px;
  margin: 0 auto;
}
.demo-cta .kk {
  color: #c6c3de;
}
.demo-cta h2 {
  font-family: var(--head);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.22;
  margin-bottom: var(--space-xs);
}
.demo-cta p:not(.kk) {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 560px;
}
.demo-cta-btns {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-top: var(--space-s);
}
.demo-cta-btns :is(.ba, .bo) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: var(--space-3xs) var(--space-s);
  line-height: 1.4;
}
@media (pointer: coarse) {
  .demo-play,
  .demo-pick-trigger,
  .demo-stage-open,
  .demo-stage-reset,
  .demo-stage-fs,
  .demo-cta-btns :is(.ba, .bo) {
    min-height: 2.75rem;
  }
}
.demo-cta .ba {
  background: #c9c2ff;
  color: #17142e;
  border-color: #c9c2ff;
}
.demo-cta .ba:hover {
  background: #ded9ff;
  border-color: #ded9ff;
}
.demo-cta .bo {
  background: #ffffff0d;
  color: #fff;
  border-color: #aaa7c1;
}
.demo-cta .bo:hover {
  background: #ffffff1a;
  border-color: #fff;
  color: #fff;
}
.demo-disclaimer {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: rgba(255, 255, 255, 0.45);
  margin-top: var(--space-m);
  max-width: 620px;
}

@container demo-console (width < 40rem) {
  .demo-steps {
    gap: var(--space-2xs);
  }
  .demo-step {
    display: grid;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: var(--space-3xs) var(--space-xs);
    padding: var(--space-xs) var(--space-3xs);
  }
  .demo-step-heading {
    display: contents;
  }
  .demo-step-number {
    grid-row: span 2;
  }
  .demo-step p {
    grid-column: 2;
    min-height: 0;
  }
  .demo-stage-bar {
    gap: var(--space-2xs);
  }
  .demo-stage-actions {
    width: 100%;
    justify-content: space-between;
    gap: var(--space-3xs);
  }
}

@container demo-stage (width < 48rem) {
  .demo-frame {
    width: 100%;
    height: 100%;
    transform: none;
  }
  .demo-stage-view,
  .product-live-tour.demo-stage .demo-stage-view {
    height: clamp(24rem, 120cqi, 36rem);
  }
}
.demo-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: none;
}
.demo-play-label {
  display: grid;
}
.demo-play-label > span {
  grid-area: 1 / 1;
}
.demo-play-size {
  visibility: hidden;
  pointer-events: none;
}

.product-live-tour.demo-stage {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.product-live-tour .demo-stage-view {
  height: min(75svh, 48rem);
}
.dashboard-guide {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding-block: var(--space-2xs);
  padding-inline: 0;
  background: transparent;
  border: 0;
}
.dashboard-guide-caption {
  display: grid;
  flex: 1;
  min-width: 0;
  font-size: var(--step--1);
  line-height: 1.5;
}
.dashboard-guide-caption > p,
.dashboard-guide-caption > span {
  grid-area: 1 / 1;
  font-size: inherit;
  line-height: inherit;
}
.dashboard-guide-caption > span {
  visibility: hidden;
  pointer-events: none;
}
.dashboard-guide-caption > span::before {
  content: attr(data-caption);
}
.dashboard-guide-controls {
  display: flex;
  align-items: center;
  flex: none;
  gap: var(--space-3xs);
}
.dashboard-guide .guide-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--space-2xs);
  padding: var(--space-2xs);
  background: transparent;
  color: var(--fg2);
  cursor: pointer;
}
.dashboard-guide .guide-control:hover {
  background: var(--ac-bg);
  color: var(--ac2);
}
.dashboard-guide svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-caption-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@layer components.hero {
  .hero {
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(4rem + var(--space-xl)) var(--grid-gutter) var(--space-xl-2xl);
    background: linear-gradient(180deg, #f3f2fc, #fff);
    overflow: hidden;

    .hero-inner {
      position: relative;
      z-index: 1;
      margin: 0 auto;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-l-xl);
    }

    .hero-top {
      width: 100%;
      max-width: 820px;
      min-width: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;

      h1 {
        font-family: var(--head);
        font-size: var(--step-5);
        font-weight: 700;
        line-height: 1.05;
        letter-spacing: -1.8px;
        margin-bottom: var(--space-m);
        max-width: min(100%, 26ch);
        overflow-wrap: anywhere;
        text-wrap: wrap;
        animation: heroUp 0.8s var(--ease) 0.1s both;

        @supports (text-wrap: balance) {
          text-wrap: balance;
        }

        span {
          font-style: normal;
          color: var(--ac2);
        }
      }
    }

    .hero-sub {
      font-family: var(--body);
      font-size: var(--step-0);
      color: var(--fg3);
      line-height: 1.55;
      max-width: min(100%, 48ch);
      overflow-wrap: anywhere;
      margin-bottom: var(--space-m);
      animation: heroUp 0.8s var(--ease) 0.2s both;
    }

    .hero-btns {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-xs);
      justify-content: center;
      max-inline-size: 100%;
      animation: heroUp 0.8s var(--ease) 0.35s both;

      a {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2xs);
        flex-shrink: 0;
        max-width: 100%;
        min-inline-size: 0;
        overflow-wrap: anywhere;

        &::after {
          content: "↗";
          transition: transform var(--motion-response) var(--motion-ease);
        }

        @media (hover: hover) and (pointer: fine) {
          &:hover::after {
            transform: translate(2px, -2px);
          }
        }

        @media (prefers-reduced-motion: reduce) {
          &::after {
            transition: none !important;
            transform: none !important;
          }
        }
      }
    }
  }
}
