/* PredictRAM Automate — WealthTick-inspired marketing demo */

:root {
  --header-height: 80px;
  --header-scroll-height: 64px;
  --grey: #2d426f;
  --ink: #0f0e16;
  --mute: #615d70;
  --text-mute: #8394ba;
  --green: #1cc1a1;
  --pur: #f1ebfe;
  --blue: #ecf9ff;
  --sky: #f3f9fc;
  --mint: #eaf8e8;
  --accent: #3673f7;
  --purple: #7c5cff;
  --niv-grad: linear-gradient(135deg, #3673f7 0%, #6a4cf6 50%, #9c5bff 100%);
  --btn-grad: linear-gradient(80deg, #01ffff 4.78%, #141fc9 84.06%);
  --r-pill: 999px;
  --fs72: clamp(32px, 3.75vw, 72px);
  --fs60: clamp(26px, 3.33vw, 60px);
  --fs48: clamp(24px, 2.5vw, 48px);
  --fs36: clamp(22px, 1.88vw, 36px);
  --fs32: clamp(20px, 1.67vw, 32px);
  --fs24: clamp(16px, 1.25vw, 24px);
  --fs22: clamp(16px, 1.15vw, 22px);
  --fs18: clamp(16px, 0.94vw, 18px);
  --fs16: clamp(14px, 0.8vw, 16px);
  --spc90: clamp(40px, 4vw, 90px);
  --spc80: clamp(36px, 3.13vw, 80px);
  --spc60: clamp(24px, 3.13vw, 60px);
  --spc36: clamp(24px, 1.67vw, 36px);
  --spc24: clamp(20px, 1.67vw, 24px);
  --br30: clamp(14px, 1.56vw, 30px);
  --br24: clamp(14px, 1.25vw, 24px);
  --mobileWidth: 280px;
  --mobileSpace: 80px;
  --globeSize: 152px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: #fff;
  font-family: "Onest", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--grey);
  -webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: 1600px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.t-cen {
  text-align: center;
}

.mt16 { margin-top: 16px !important; }
.mt24 { margin-top: var(--spc24) !important; }
.mb36 { margin-bottom: var(--spc36) !important; }

/* Buttons */
.button {
  border-radius: 70px;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  padding: 0 24px;
  background: var(--btn-grad);
  background-size: 200% 100%;
  background-position: center;
  border: 1px solid transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: background-size 0.5s ease;
}

.button:hover {
  background-size: 400% 100%;
}

.button.line {
  background: transparent;
  border: 1px solid #30223b;
  color: #30223b;
}

.button.line:hover {
  background: #30223b;
  color: #fff;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
}

.header-box {
  height: var(--header-height);
  transition: height 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

#header.fixHeader .header-box {
  height: var(--header-scroll-height);
  background: #fff;
  box-shadow: 0 0 20px rgba(19, 28, 162, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--niv-grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(54, 115, 247, 0.28);
}

.brand-logo {
  height: 46px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: 10px;
}

#header.fixHeader .brand-logo {
  height: 40px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--grey);
  letter-spacing: -0.02em;
}

.brand-name span {
  font-weight: 500;
  color: var(--text-mute);
}

.header-list {
  display: flex;
  align-items: center;
}

.header-list li {
  padding: 7px 22px;
}

.header-list a {
  font-size: 17px;
  color: var(--mute);
  font-weight: 500;
}

.header-list a:hover,
.header-list a.active {
  color: var(--accent);
}

.head-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.head-right .demo-link {
  height: 44px;
  line-height: 44px;
  padding: 0 18px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  position: absolute;
  left: 10px;
}

.menu-toggle span {
  top: 20px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.mob-nav {
  display: none;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 86vw);
  background: #1c2744;
  z-index: 1090;
  padding: 88px 28px 32px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mob-nav.open {
  transform: none;
}

.mob-nav a {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1080;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Main */
.main-container {
  padding-top: var(--header-height);
}

/* Banner */
.banner {
  padding-top: 40px;
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.head-tag {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #fdfdfd;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) inset;
  border-radius: 80px;
  padding: 4px 16px 4px 4px;
  width: max-content;
  margin: auto;
}

.tag-orb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--niv-grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  animation: spinSlow 8s linear infinite;
}

.head-tag p {
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
}

.head-tag a {
  color: var(--accent);
}

.main-head {
  color: var(--grey);
  text-align: center;
  font-size: var(--fs72);
  font-weight: 500;
  line-height: 1.13;
}

.comm-txt p {
  color: var(--mute);
  font-size: 16px;
  line-height: 24px;
  max-width: 560px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 8px 16px 8px 12px;
  border-radius: 10px;
  background: #111318;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 14, 22, 0.18);
}

.play-badge:hover { color: #fff; transform: translateY(-1px); }

.play-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.play-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.play-badge small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

/* Phone story */
.container-bnr {
  position: relative;
}

.mobile-section {
  height: 640vh;
  position: relative;
}

.bnr-trigger-1,
.mobile-trigger-1,
.mobile-trigger-2,
.mobile-trigger-3 {
  position: absolute;
  width: 1px;
  height: 1px;
}

.bnr-trigger-1 { top: 90vh; }
.mobile-trigger-1 { top: 200vh; }
.mobile-trigger-2 { top: 320vh; }
.mobile-trigger-3 { top: 450vh; }

.mobile-sticky {
  height: calc(100vh - var(--header-height));
  position: sticky;
  top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mobile-bg {
  position: absolute;
  width: min(720px, 70%);
  height: 90%;
  left: 50%;
  top: -6%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 40%, rgba(54, 115, 247, 0.18), transparent 58%),
    radial-gradient(circle at 30% 70%, rgba(124, 92, 255, 0.16), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(28, 193, 161, 0.14), transparent 50%);
  filter: blur(8px);
  pointer-events: none;
}

.phone-stage {
  position: relative;
  z-index: 2;
  width: min(320px, 72vw);
}

.phone {
  width: 100%;
  aspect-ratio: 0.485;
  margin: 0 auto;
  position: relative;
}

.phone-bezel {
  position: absolute;
  inset: 0;
  background: #111318;
  border-radius: 38px;
  padding: 10px;
  box-shadow:
    0 30px 80px rgba(45, 66, 111, 0.28),
    inset 0 0 0 2px #2a2f3c;
}

.phone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
}

.phone-screen {
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #0b1020;
  position: relative;
}

.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateY(18%);
  transition: 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  padding: 36px 14px 56px;
  color: #fff;
}

.screen.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
  transform: none;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.screen-top h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #c9d4ee;
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #1cc1a1;
  font-weight: 600;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1cc1a1;
  box-shadow: 0 0 0 4px rgba(28, 193, 161, 0.18);
  animation: pulse 1.6s ease infinite;
}

.kpi {
  background: linear-gradient(180deg, #151c33, #101628);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
}

.kpi small {
  color: #8394ba;
  font-size: 11px;
  font-weight: 500;
}

.kpi strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  margin: 4px 0 2px;
}

.kpi .up { color: #1cc1a1; font-size: 12px; font-weight: 600; }

.mini-chart {
  height: 54px;
  margin: 8px 0 2px;
}

.row-card,
.agent-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.row-card span,
.agent-row span {
  color: #9aa8c7;
}

.pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
}

.pill.live { background: rgba(28, 193, 161, 0.16); color: #1cc1a1; }
.pill.wait { background: rgba(255, 184, 77, 0.16); color: #ffb84d; }
.pill.ai { background: rgba(124, 92, 255, 0.18); color: #cbb8ff; }

.prompt-box {
  background: #151c33;
  border-radius: 14px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #c9d4ee;
  border: 1px solid rgba(54, 115, 247, 0.25);
  overflow: visible;
  word-break: break-word;
}

.prompt-box em {
  color: #8eb4ff;
  font-style: normal;
  font-weight: 600;
}

.app-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.app-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px;
}

.app-tile b { display: block; font-size: 12px; }
.app-tile span { color: #8394ba; font-size: 10px; }

.expert-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 10px;
}

.expert-ava {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--niv-grad);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.expert-card strong { display: block; font-size: 13px; }
.expert-card small { color: #8394ba; font-size: 11px; }

.lang-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.lang {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #9aa8c7;
}

.lang.on {
  background: rgba(124, 92, 255, 0.22);
  color: #cbb8ff;
}

.phone-tabs {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #101628;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 6px 4px;
}

.phone-tabs span {
  text-align: center;
  font-size: 7px;
  font-weight: 700;
  color: #6d7a99;
  letter-spacing: -0.02em;
}

.phone-tabs span.on { color: #8eb4ff; }

.hub-swipe {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.22), rgba(54, 115, 247, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 8px;
}

.hub-swipe-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbb8ff;
  margin-bottom: 6px;
}

.hub-swipe strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.hub-swipe small {
  color: #9aa8c7;
  font-size: 10px;
  line-height: 1.35;
}

.hub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.hub-actions span {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #9aa8c7;
}

.hub-actions span.on {
  background: rgba(28, 193, 161, 0.18);
  color: #1cc1a1;
}

.sig-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.sig-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 11px;
}

.sig-row .buy { color: #1cc1a1; }
.sig-row .hold { color: #ffb84d; }
.sig-row .sell { color: #ff7b8a; }

.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.hub-card {
  background: #fff;
  border: 1px solid rgba(45, 66, 111, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(45, 66, 111, 0.06);
}

.hub-card h4 {
  margin: 16px 0 10px;
  font-size: 22px;
}

.hub-card p {
  color: var(--mute);
  line-height: 1.55;
  margin-bottom: 14px;
}

.code-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: #7ee787;
  margin-top: 8px;
  opacity: 0.9;
}

/* Floating elems around phone */
.first-fold-elements,
.screen-elem-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 18px 50px rgba(45, 66, 111, 0.16);
  min-width: 170px;
  opacity: 0;
  will-change: transform;
}

.float-card small {
  display: block;
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 500;
}

.float-card b {
  color: var(--grey);
  font-size: 18px;
  font-weight: 700;
}

.float-card .delta {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.elem-1 { left: 6%; top: 22%; }
.elem-2 { left: 12%; top: 62%; }
.elem-3 { right: 10%; top: 18%; }
.elem-4 { right: 7%; top: 58%; }

.side-ui {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(45, 66, 111, 0.16);
  opacity: 0;
  scale: 0.5;
  overflow: hidden;
}

.side-ui.elem-screen-1 {
  left: 8%;
  bottom: 16%;
  width: 240px;
  padding: 14px;
}

.side-ui.elem-screen-2 {
  left: 6%;
  bottom: 12%;
  width: 250px;
  padding: 14px;
}

.side-ui.elem-screen-3 {
  right: 7%;
  top: 22%;
  width: 220px;
  padding: 14px;
}

.side-ui.elem-screen-4 {
  right: 6%;
  bottom: 12%;
  width: 250px;
  padding: 14px;
}

.side-ui h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.bar {
  height: 8px;
  background: #eef2fb;
  border-radius: 99px;
  overflow: hidden;
  margin: 6px 0;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--niv-grad);
}

.second-fold-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  gap: var(--mobileWidth);
  padding: 0 4%;
  pointer-events: none;
}

.mobile-head {
  color: var(--grey);
  font-size: clamp(28px, 3.4vw, 64px);
  font-weight: 500;
  line-height: 1.12;
  max-width: 440px;
  padding-top: var(--mobileSpace);
  opacity: 0;
  transform: translateY(80px);
}

.clps-cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(440px, 36vw);
  pointer-events: auto;
}

.clps-card {
  padding: 18px 22px;
  background: #fff;
  border-radius: var(--br24);
  margin-bottom: 8px;
  height: auto;
  max-height: 86px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(80px);
  transition: 0.8s;
  box-shadow: 0 10px 30px rgba(45, 66, 111, 0.06);
}

.clps-card.active {
  max-height: 480px;
  opacity: 1;
  transform: none;
  overflow: visible;
}

.clps-card.active.active-close {
  max-height: 86px;
  overflow: hidden;
}

.clps-card.active.active-close {
  max-height: 86px;
}

.clps-card .clps-icon,
.clps-card p {
  opacity: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  transition: 0.45s;
}

.clps-card.active:not(.active-close) .clps-icon,
.clps-card.active:not(.active-close) p {
  opacity: 1;
  max-height: none;
  overflow: visible;
  margin-bottom: 12px;
}

.clps-card.active.active-close .clps-icon {
  opacity: 0;
}

.clps-card span {
  color: #373a3a;
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.clps-card h3 {
  color: #373a3a;
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
}

.clps-card p {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.55;
  max-width: 100%;
}

.clps-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 20px;
  transition: 0.5s;
}

.clps-card-1 .clps-icon { background: var(--blue); }
.clps-card-2 .clps-icon { background: var(--mint); }
.clps-card-3 .clps-icon { background: var(--pur); }
.clps-card-4 .clps-icon { background: #fff4e5; }

/* Chat */
.chat-section {
  position: relative;
}

.chat-wrap {
  height: 420vh;
  position: relative;
}

.chat-trigger-1 { position: absolute; top: 80vh; }
.chat-trigger-2 { position: absolute; top: 280vh; }

.chat-sticky {
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-main {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 820px;
  margin: auto;
  position: absolute;
  width: 100%;
  height: 88%;
  background:
    radial-gradient(circle at 50% 20%, rgba(54, 115, 247, 0.16), transparent 45%),
    linear-gradient(180deg, #f7f4ff, #eef6ff);
  border-radius: 32px;
  overflow: hidden;
}

.chat-globe {
  position: absolute;
  height: var(--globeSize);
  width: var(--globeSize);
  top: 48px;
  z-index: 2;
}

.orb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--niv-grad);
  position: relative;
  overflow: hidden;
  filter: saturate(1.2);
}

.orb::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, rgba(255, 255, 255, 0.1) 40%, transparent 70%);
}

.orb-core {
  position: absolute;
  inset: 28%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 28px;
}

.chat-globe::before,
.chat-globe::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(39, 119, 243, 0.18);
  border-radius: 50%;
}

.chat-globe::before { animation: ripple 2s linear infinite; }
.chat-globe::after { animation: ripple 2s linear 1s infinite; }

.chats-wrap {
  position: absolute;
  width: calc(100% - 64px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  top: 196px;
  max-height: calc(100% - 276px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  opacity: 0;
}

.chats-wrap::-webkit-scrollbar { display: none; }

.bubble {
  max-width: 92%;
  background: #fff;
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(45, 66, 111, 0.08);
  color: var(--mute);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  overflow: visible;
  word-break: break-word;
}

.chats-wrap .bubble,
.chats-wrap .prop-dash {
  opacity: 1;
  transform: none;
}

.bubble b {
  display: block;
  color: var(--grey);
  font-size: 12px;
  margin-bottom: 4px;
}

.bubble.me {
  margin-left: auto;
  background: var(--niv-grad);
  color: #fff;
}

.bubble.me b { color: rgba(255, 255, 255, 0.8); }

.typed-line {
  display: inline;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: currentColor;
  margin-left: 2px;
  vertical-align: -2px;
  animation: blink 1s step-end infinite;
}

.prop-dash {
  width: 100%;
  background: #0b1020;
  color: #c9d4ee;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(45, 66, 111, 0.12);
}

.prop-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.prop-dash-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8eb4ff;
}

.prop-dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffb84d;
  font-size: 12px;
  font-weight: 600;
}

.prop-dash.ready .prop-dash-status { color: #1cc1a1; }

.gen-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb84d;
  animation: pulse 1s ease infinite;
}

.gen-dot.on {
  background: #1cc1a1;
  animation: none;
}

.prop-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s;
}

.prop-row.show {
  opacity: 1;
  transform: none;
}

.prop-row.typing {
  background: linear-gradient(90deg, rgba(54, 115, 247, 0.18), rgba(124, 92, 255, 0.12), rgba(54, 115, 247, 0.18));
  background-size: 200% 100%;
  animation: dashShimmer 1.2s linear infinite;
}

.prop-row span { color: #8394ba; }
.prop-row b { color: #fff; font-weight: 600; white-space: nowrap; }

@keyframes dashShimmer {
  to { background-position: -200% 0; }
}

@keyframes blink {
  50% { opacity: 0; }
}

.chat-composer {
  position: absolute;
  bottom: 18px;
  left: 24px;
  right: 24px;
  height: 56px;
  background: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 8px 0 20px;
  box-shadow: 0 12px 32px rgba(45, 66, 111, 0.12);
  opacity: 0;
  transform: translateY(40px);
}

.chat-composer span {
  flex: 1;
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
}

.chat-composer .send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--niv-grad);
  color: #fff;
  display: grid;
  place-items: center;
  border: 0;
}

.chat-right {
  width: 40%;
  position: absolute;
  right: 0;
  opacity: 0;
  transform: translateY(80px);
}

.comm-head {
  color: var(--grey);
  font-size: var(--fs60);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--spc36);
}

.chat-right ul li {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--mute);
  font-size: clamp(16px, 1.1vw, 22px);
  font-weight: 600;
  line-height: 1.35;
}

.meet-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 28px;
  flex-shrink: 0;
}

.meet-icon.m1 { background: var(--blue); }
.meet-icon.m2 { background: var(--mint); }
.meet-icon.m3 { background: var(--pur); }

/* Smart cards */
.smart-section {
  padding: var(--spc80) 0;
  height: 240vh;
  position: relative;
}

.smart-sticky {
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
}

.smart-wrap {
  display: flex;
  gap: 10px;
}

.smart-card {
  border-radius: var(--br24);
  background: var(--blue);
  padding: 16px 16px 28px;
  width: calc(25% - 8px);
  transform: translateX(150%);
  z-index: 4;
}

.smart-card:nth-child(2) {
  background: var(--mint);
  transform: translateX(calc(50% - 10px)) translateY(12px);
  z-index: 3;
}

.smart-card:nth-child(3) {
  background: var(--pur);
  transform: translateX(calc(-50% - 20px)) translateY(24px);
  z-index: 2;
}

.smart-card:nth-child(4) {
  transform: translateX(calc(-150% - 30px)) translateY(36px);
  z-index: 1;
}

.smart-illus {
  height: 120px;
  display: grid;
  place-items: center;
  margin: 28px 0 32px;
  font-size: 48px;
}

.smart-card h4 {
  color: var(--mute);
  text-align: center;
  font-size: var(--fs22);
  font-weight: 600;
  margin-bottom: 10px;
}

.smart-card p {
  color: var(--mute);
  text-align: center;
  font-size: var(--fs16);
  line-height: 1.7;
  max-width: 230px;
  margin: auto;
}

/* Research stack */
.research-section {
  height: 320vh;
  position: relative;
}

.r-trigger-1 { position: absolute; top: 80vh; }
.r-trigger-2 { position: absolute; top: 180vh; }

.research-sticky {
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
}

.research-wrap {
  display: flex;
  gap: 80px;
  justify-content: space-between;
  height: 460px;
  max-width: 1280px;
  margin: auto;
}

.research-left {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.research-left .comm-head {
  font-size: var(--fs48);
}

.research-left p {
  color: var(--mute);
  font-size: 16px;
  max-width: 360px;
}

.research-right {
  position: relative;
  width: 560px;
}

.research-card {
  border-radius: var(--br24);
  background: var(--mint);
  width: 100%;
  height: 280px;
  display: flex;
  overflow: hidden;
  position: absolute;
  inset: auto 0 0 0;
}

.research-card-2 { background: var(--blue); }
.research-card-3 { background: var(--pur); }

.research-txt {
  padding: 36px;
  max-width: 280px;
}

.research-txt h4 {
  color: #373a3a;
  font-size: var(--fs36);
  font-weight: 700;
  margin-bottom: 12px;
}

.research-txt p {
  color: var(--mute);
  font-size: 16px;
}

.research-art {
  flex: 1;
  display: grid;
  place-items: center;
  font-size: 72px;
}

/* Solution tabs */
.comm-section {
  padding: var(--spc90) 0;
}

.solution-section {
  background: var(--sky);
}

.tabs ul {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  width: fit-content;
  margin: 0 auto 48px;
  position: relative;
}

.tabs li {
  color: #8d9ca4;
  font-size: var(--fs18);
  font-weight: 500;
  padding: 0 40px 18px;
  cursor: pointer;
}

.tabs li.active {
  color: var(--grey);
}

.indicator {
  height: 2px;
  background: var(--accent);
  position: absolute;
  bottom: 0;
  transition: 0.4s ease;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.solution-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1060px;
  margin: 0 auto;
}

.sol-media {
  border-radius: var(--br24);
  background: #fff;
  height: 420px;
  width: 460px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(45, 66, 111, 0.08);
}

.desk-preview {
  height: 100%;
  border-radius: 16px;
  background: #0b1020;
  color: #d7def0;
  padding: 18px;
  font-size: 12px;
  overflow: hidden;
}

.desk-preview header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #9aa8c7;
}

.term {
  font-family: ui-monospace, Menlo, monospace;
  line-height: 1.7;
}

.term .ok { color: #1cc1a1; }
.term .warn { color: #ffb84d; }
.term .ai { color: #cbb8ff; }

.sol-txt h5 {
  color: #939aa7;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 6px;
}

.sol-txt h4 {
  color: var(--mute);
  font-size: var(--fs32);
  font-weight: 600;
  line-height: 1.4;
}

.sol-txt.active h5 { color: var(--accent); }
.sol-txt.active h4 { color: var(--ink); }

.vs {
  margin: 28px 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--niv-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

/* Vision */
.vm-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
}

.vm-box {
  padding: 40px;
  border-radius: var(--br24);
  background: var(--blue);
  max-width: 450px;
}

.vm-box:nth-child(2) {
  background: var(--pur);
}

.vm-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.vm-box h4 {
  color: var(--grey);
  font-size: var(--fs36);
  font-weight: 500;
  margin-bottom: 16px;
}

.vm-box p {
  color: var(--mute);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

/* Pre footer */
.pre-footer-section {
  padding-bottom: var(--spc90);
}

.pf-wrap {
  display: flex;
  background: var(--sky);
  border-radius: clamp(16px, 1.5vw, 40px);
  padding: 64px 80px 0;
  justify-content: space-between;
  overflow: hidden;
}

.pf-left {
  max-width: 420px;
  padding-bottom: 64px;
}

.pf-left h3 {
  color: var(--grey);
  font-size: var(--fs36);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
}

.pf-left p {
  color: #6b7280;
  font-size: 18px;
  font-weight: 500;
}

.pf-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pf-phone {
  width: 280px;
  transform: translateY(24px);
}

/* Footer */
#footer {
  padding: 12px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  gap: 40px;
}

.footer-logo-wrap {
  max-width: 320px;
}

.footer-logo-wrap .brand {
  margin-bottom: 16px;
}

.footer-logo-wrap p,
.footer-logo-wrap address {
  color: var(--mute);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 10px;
}

.copy {
  color: var(--ink) !important;
  font-size: 12px !important;
  margin-top: 24px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-links h4 {
  color: #95a6c9;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--mute);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky);
  display: grid;
  place-items: center;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(107, 114, 128, 0.1);
  margin-top: 22px;
}

.footer-bottom p {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

/* Dock */
.niv-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 90;
  width: min(520px, calc(100vw - 48px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(45, 66, 111, 0.09);
  border-radius: var(--r-pill);
  box-shadow: 0 16px 56px rgba(45, 66, 111, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 16px;
  cursor: pointer;
  transition: 0.38s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.niv-dock:hover {
  transform: translateX(-50%) translateY(-3px);
}

.niv-dock.mode-orb {
  left: 18px;
  bottom: 22px;
  transform: none;
  width: 68px;
  padding: 8px;
  border-radius: 50%;
}

.niv-dock.mode-orb:hover {
  transform: translateY(-3px);
}

.niv-dock.mode-orb .niv-dock-prompt,
.niv-dock.mode-orb .niv-dock-pill {
  opacity: 0;
  pointer-events: none;
  width: 0;
}

.niv-orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--niv-grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.45);
}

.niv-dock.mode-orb .niv-orb {
  width: 50px;
  height: 50px;
}

.niv-dock-prompt {
  flex: 1;
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.niv-dock-pill {
  background: var(--niv-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--r-pill);
}

.niv-orb-tooltip {
  position: absolute;
  left: 70px;
  bottom: 10px;
  background: #fff;
  border: 1px solid rgba(45, 66, 111, 0.1);
  color: var(--grey);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  box-shadow: 0 16px 56px rgba(45, 66, 111, 0.18);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

#niv-dock.mode-orb #niv-orb-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.launch-chip {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 80;
  background: #fff;
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 16px 44px rgba(45, 66, 111, 0.16);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--grey);
}

.launch-chip .qr {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, #1c2744 0 3px, transparent 3px 6px),
    repeating-linear-gradient(0deg, #1c2744 0 3px, transparent 3px 6px);
  opacity: 0.85;
}

/* Chat modal */
.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 14, 22, 0.45);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
}

.chat-modal.open {
  display: flex;
}

.chat-sheet {
  width: min(520px, 100%);
  height: min(680px, 86vh);
  background: #fff;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.chat-sheet-head {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eef2fb;
}

.chat-sheet-head h4 {
  font-size: 16px;
  font-weight: 700;
}

.chat-sheet-head p {
  font-size: 12px;
  color: var(--text-mute);
}

.chat-close {
  margin-left: auto;
  border: 0;
  background: #f3f6fb;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
}

.chat-log {
  flex: 1;
  overflow: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafd;
}

.chat-log .bubble {
  opacity: 1;
  transform: none;
  max-width: 85%;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #eef2fb;
}

.chat-form input {
  flex: 1;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #e7eaf2;
  padding: 0 16px;
  font: inherit;
  outline: none;
}

.demo-note { display: none; }

/* Animations */
@keyframes ripple {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(28, 193, 161, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(28, 193, 161, 0); }
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1100px) {
  :root {
    --header-height: 68px;
    --header-scroll-height: 60px;
    --globeSize: 112px;
  }
  .container { padding: 0 16px; }
  .header-list { display: none; }
  .menu-toggle { display: block; }
  .mob-nav { display: block; }
  .head-right > .button,
  .head-right .demo-link { display: none; }
  .banner { padding-top: 20px; margin-bottom: 12px; }
  .head-tag {
    max-width: 100%;
    width: auto;
    box-sizing: border-box;
  }
  .hero-actions { width: 100%; }
  .hero-actions .button, .hero-actions .play-badge { min-width: min(220px, 100%); }
  .float-card, .side-ui, .launch-chip { display: none !important; }

  .mobile-section {
    height: auto !important;
    padding: 8px 0 36px;
  }
  .mobile-sticky {
    position: relative;
    height: auto;
    top: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 8px 0 12px;
  }
  .phone-stage { width: min(280px, 78vw); }
  .second-fold-wrap {
    position: relative;
    inset: auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    padding: 0;
    width: 100%;
    pointer-events: auto;
  }
  .mobile-head {
    max-width: none;
    font-size: clamp(26px, 7vw, 34px);
    padding-top: 0;
    opacity: 1;
    transform: none;
  }
  .clps-cards { width: 100%; }
  .clps-card,
  .clps-card.active,
  .clps-card.active.active-close {
    max-height: none;
    overflow: visible;
    opacity: 1;
    transform: none;
    height: auto;
  }
  .clps-card .clps-icon,
  .clps-card p,
  .clps-card.active:not(.active-close) .clps-icon,
  .clps-card.active:not(.active-close) p {
    opacity: 1;
    max-height: none;
    overflow: visible;
    margin-bottom: 12px;
  }

  .research-wrap { flex-direction: column; height: auto; gap: 24px; }
  .research-right { width: 100%; height: auto; position: relative; }
  .research-card {
    position: relative;
    inset: auto;
    margin-bottom: 12px;
    height: auto;
    min-height: 160px;
  }
  .solution-wrap { flex-direction: column; }
  .sol-media { width: 100%; height: auto; min-height: 240px; }
  .vm-wrap { flex-direction: column; }
  .vm-box { max-width: none; padding: 24px; }
  .pf-wrap { flex-direction: column; padding: 32px 20px 0; }
  .pf-phone { margin: 0 auto; }
  .pf-actions .button { width: 100%; }
  .footer-top, .footer-links { flex-direction: column; gap: 24px; }
  .footer-links { gap: 28px; }
  .footer-logo-wrap { max-width: none; }

  .chat-wrap, .smart-section, .research-section { height: auto; }
  .chat-wrap { padding: 36px 0 48px; }
  .chat-sticky, .smart-sticky, .research-sticky {
    height: auto;
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .chat-main {
    position: relative;
    height: auto;
    width: 100%;
    left: auto;
    overflow: visible;
    padding-bottom: 12px;
  }
  .chat-globe {
    position: relative;
    top: 16px;
    margin: 0 auto 12px;
  }
  .chats-wrap {
    position: relative;
    top: auto;
    width: calc(100% - 32px);
    margin: 12px auto 0;
    max-height: none;
    overflow: visible;
    opacity: 1;
  }
  .chat-composer {
    position: relative;
    left: 16px;
    right: 16px;
    bottom: auto;
    width: calc(100% - 32px);
    margin: 16px auto 18px;
    opacity: 1;
    transform: none;
  }
  .chat-right {
    display: block;
    position: relative;
    width: 100%;
    right: auto;
    opacity: 1;
    transform: none;
    padding: 8px 4px 0;
  }
  .chat-right .comm-head { margin-bottom: 20px; }
  .chat-right ul li { font-size: 16px; margin-bottom: 16px; }
  .meet-icon { width: 52px; height: 52px; font-size: 20px; border-radius: 16px; }
  .smart-card,
  .smart-card:nth-child(2),
  .smart-card:nth-child(3),
  .smart-card:nth-child(4) {
    transform: none;
    width: 100%;
  }
  .smart-wrap { flex-direction: column; }
  .smart-section { height: auto; padding: 40px 0; }
  .tabs ul {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .tabs li {
    padding: 0 16px 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .ta-layout, .ide-layout, .legal-grid, .policy-grid { grid-template-columns: 1fr; }
  .ta-grid, .interop-grid, .hub-grid, .people-grid, .people-grid.tech, .mentors-grid, .stat-row, .official-links, .meta-list {
    grid-template-columns: 1fr 1fr;
  }
  .partner-row img { height: 56px; }
  .prop-row { flex-wrap: wrap; gap: 4px 12px; }
  .prop-row b { white-space: normal; }
  .niv-dock {
    left: 14px;
    bottom: 16px;
    transform: none;
    width: 64px;
    padding: 7px;
    border-radius: 50%;
  }
  .niv-dock:hover { transform: none; }
  .niv-dock-prompt,
  .niv-dock-pill { display: none; }
  #niv-dock #niv-orb-tooltip { opacity: 1; pointer-events: auto; left: 72px; }
}

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button, .hero-actions .play-badge, .pf-actions .play-badge { width: 100%; justify-content: center; }
  .brand-name span { display: none; }
  .tabs li { padding: 0 12px 14px; font-size: 14px; }
  .ta-grid, .interop-grid, .hub-grid, .people-grid, .people-grid.tech, .mentors-grid, .stat-row, .official-links, .meta-list {
    grid-template-columns: 1fr;
  }
  .person-card img, .mentor-card img, .avatar-clip { width: 112px; height: 112px; }
  .chat-modal { padding: 0; align-items: stretch; }
  .chat-sheet {
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    border-radius: 0;
  }
  .chat-form { flex-wrap: wrap; }
  .chat-form .button { width: 100%; }
  .phone-tabs span { font-size: 9px; padding: 6px 0; }
  .legal-hero h1 { font-size: 28px; }
  .legal-table { min-width: 520px; }
  .legal-panel, .legal-card { overflow-x: auto; }
  .reg-pill { font-size: 11px; }
  .footer-links { gap: 20px; }
  .head-tag {
    border-radius: 16px;
    padding: 8px 12px 8px 8px;
    justify-content: center;
  }
  .head-tag p { font-size: 12px; line-height: 1.4; }
  .mob-nav { width: 100%; }
  body { padding-bottom: 88px; }
}

/* Regulatory strip */
.reg-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px 0;
}

.reg-pill {
  background: #fff;
  border: 1px solid #e7eaf2;
  color: var(--mute);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.reg-pill strong { color: var(--grey); }

/* Site info sections */
.site-section {
  padding: var(--spc90) 0;
}

.site-section.alt { background: var(--sky); }
.site-section.mint { background: var(--mint); }
.site-section.blue { background: var(--blue); }

.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-lead {
  color: var(--mute);
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.section-lead.left { margin-left: 0; }

.nvidia-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.nvidia-row p {
  font-weight: 600;
  color: var(--grey);
}

.nvidia-row img { height: 52px; width: auto; }

.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.partner-row img {
  height: 72px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e7eaf2;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 10px 30px rgba(45, 66, 111, 0.06);
}

/* Tradium mini desk */
.ta-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.ta-copy h3 { margin-bottom: 16px; }

.ta-copy p {
  color: var(--mute);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.ta-points {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.ta-points li {
  display: flex;
  gap: 10px;
  color: var(--grey);
  font-weight: 600;
  font-size: 15px;
}

.ta-points li::before {
  content: "✓";
  color: var(--green);
}

.desk-mini {
  background: #0b1020;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(45, 66, 111, 0.18);
}

.desk-mini .bar-url {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #151c33;
  color: #9aa8c7;
  font-size: 11px;
  padding: 10px 14px;
}

.desk-mini .dots { display: flex; gap: 5px; }
.desk-mini .dots i,
.term-head .dots i,
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4460;
  display: inline-block;
}
.term-head .dots { display: flex; gap: 5px; }

.desk-mini .inner { padding: 16px; }

.desk-mini .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: #fff;
}

.desk-mini .top small { color: #8394ba; display: block; font-size: 11px; }

.ta-pills { display: flex; gap: 8px; }
.ta-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.18);
  color: #cbb8ff;
}
.ta-pill.green { background: rgba(28, 193, 161, 0.16); color: #1cc1a1; }

.ta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.ta-pane {
  background: #151c33;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px;
  min-height: 170px;
}

.ta-pane h6 {
  color: #9aa8c7;
  font-size: 11px;
  margin-bottom: 10px;
  font-weight: 600;
}

.ta-agent, .ta-log .line {
  color: #c9d4ee;
  font-size: 12px;
  margin-bottom: 8px;
}

.ta-agent small { display: block; color: #8394ba; font-size: 10px; }
.ta-log { font-family: ui-monospace, Menlo, monospace; font-size: 11px; line-height: 1.7; }
.ta-log .ok { color: #1cc1a1; }
.ta-log .info { color: #8eb4ff; }
.ta-log .signal { color: #cbb8ff; }
.ta-bubble {
  background: rgba(54, 115, 247, 0.18);
  color: #d7def0;
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
}

/* Terminal / IDE */
.ide-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  max-width: 1280px;
  margin: 28px auto 0;
}

.term-window, .ide-dash {
  background: #0b1020;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(45, 66, 111, 0.12);
}

.term-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #151c33;
  color: #9aa8c7;
  font-size: 12px;
  font-weight: 600;
}

.term-body {
  padding: 16px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  line-height: 1.8;
  color: #c9d4ee;
  min-height: 280px;
}

.t-green { color: #1cc1a1; }
.t-white { color: #fff; }
.t-cmd { color: #8eb4ff; }

.ide-dash { background: #fff; color: var(--grey); }
.ide-dash .term-head { background: #f3f6fb; color: var(--mute); }
.ide-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #eef2fb;
  font-size: 13px;
  font-weight: 600;
}
.ide-row span:last-child { color: var(--green); }
.ide-note {
  padding: 14px 16px;
  color: var(--mute);
  font-size: 13px;
}

.vedaniq-note {
  max-width: 860px;
  margin: 28px auto 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.vedaniq-note a { color: var(--accent); font-weight: 600; }

/* Interop */
.interop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.interop-card {
  background: #fff;
  border-radius: var(--br24);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(45, 66, 111, 0.06);
}

.interop-card h4 {
  font-size: 18px;
  margin: 12px 0 8px;
  color: var(--grey);
}

.interop-card p { color: var(--mute); font-size: 14px; line-height: 1.6; }

.check-list { margin: 18px 0 0; }
.check-list li {
  color: var(--grey);
  font-weight: 600;
  margin-bottom: 8px;
}
.check-list li::before { content: "✓ "; color: var(--green); }

/* Team / mentors */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.people-grid.tech, .mentors-grid {
  grid-template-columns: repeat(3, 1fr);
}

.mentors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.person-card, .mentor-card {
  background: #fff;
  border-radius: var(--br24);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(45, 66, 111, 0.06);
  text-align: center;
}

.person-card img, .mentor-card img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: #eef2fb;
  border: 3px solid #eef2fb;
  box-shadow: 0 8px 20px rgba(45, 66, 111, 0.12);
}

.person-card img.photo-face,
.mentor-card img.photo-face {
  object-position: center 18%;
}

.avatar-clip {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: #eef2fb;
  border: 3px solid #eef2fb;
  box-shadow: 0 8px 20px rgba(45, 66, 111, 0.12);
}

.avatar-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

.avatar-clip.zoom img {
  transform: scale(2.45);
  transform-origin: center 10%;
}

.person-card h4, .mentor-card h4 {
  color: var(--grey);
  font-size: 20px;
  font-weight: 700;
}

.role {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin: 4px 0 8px;
}

.org { color: var(--text-mute); font-size: 13px; font-weight: 600; }

.person-card p, .mentor-card p {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.55;
}

.person-card a { color: var(--accent); font-size: 13px; font-weight: 700; }

.sub-head {
  margin-top: 36px;
  color: var(--grey);
  font-size: var(--fs24);
  font-weight: 700;
}

/* Inner legal pages */
body.legal-page { background: #f8fbff; }
body.legal-page .main-container { padding-top: calc(var(--header-height) + 12px); padding-bottom: 80px; }
body.legal-page .niv-dock, body.legal-page .launch-chip { display: none; }

.legal-hero {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(45, 66, 111, 0.06);
  margin-bottom: 22px;
}

.legal-hero h1 {
  font-size: var(--fs48);
  font-weight: 500;
  color: var(--grey);
  margin-bottom: 10px;
}

.legal-hero p { color: var(--mute); max-width: 760px; }

.legal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.legal-card, .legal-panel {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(45, 66, 111, 0.06);
  margin-bottom: 16px;
}

.legal-card h2, .legal-panel h2 {
  font-size: 20px;
  color: var(--grey);
  margin-bottom: 12px;
}

.meta-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  list-style: none;
}

.meta-list li {
  background: var(--sky);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--mute);
  font-size: 14px;
}

.legal-warning {
  background: #fff8e8;
  border: 1px solid #f3d9a4;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  color: #6b4a12;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-table th, .legal-table td {
  border-bottom: 1px solid #eef2fb;
  padding: 10px 8px;
  text-align: left;
  color: var(--mute);
}

.legal-table th { color: var(--grey); font-weight: 700; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.stat-box {
  background: var(--blue);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}

.stat-box strong { display: block; font-size: 28px; color: var(--grey); }
.stat-box span { color: var(--mute); font-size: 13px; font-weight: 600; }

.level-list { display: grid; gap: 12px; }
.level-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--sky);
  border-radius: 16px;
  padding: 16px;
}

.level-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--niv-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.official-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.official-links a {
  display: block;
  background: var(--sky);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--grey);
}

.official-links a:hover { background: var(--niv-grad); color: #fff; }

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.complain-form {
  display: grid;
  gap: 10px;
}

.complain-form input, .complain-form textarea, .complain-form select {
  width: 100%;
  border: 1px solid #e7eaf2;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.complain-form textarea { min-height: 120px; }

@media (max-width: 1100px) {
  :root {
    --header-height: 68px;
    --header-scroll-height: 60px;
    --globeSize: 112px;
  }
  .container { padding: 0 16px; }
  .header-list { display: none; }
  .menu-toggle { display: block; }
  .mob-nav { display: block; }
  .head-right > .button,
  .head-right .demo-link { display: none; }
  .banner { padding-top: 20px; margin-bottom: 12px; }
  .head-tag {
    max-width: 100%;
    width: auto;
    box-sizing: border-box;
  }
  .hero-actions { width: 100%; }
  .hero-actions .button, .hero-actions .play-badge { min-width: min(220px, 100%); }
  .float-card, .side-ui, .launch-chip { display: none !important; }

  .mobile-section {
    height: auto !important;
    padding: 8px 0 36px;
  }
  .mobile-sticky {
    position: relative;
    height: auto;
    top: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 8px 0 12px;
  }
  .phone-stage { width: min(280px, 78vw); }
  .second-fold-wrap {
    position: relative;
    inset: auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    padding: 0;
    width: 100%;
    pointer-events: auto;
  }
  .mobile-head {
    max-width: none;
    font-size: clamp(26px, 7vw, 34px);
    padding-top: 0;
    opacity: 1;
    transform: none;
  }
  .clps-cards { width: 100%; }
  .clps-card,
  .clps-card.active,
  .clps-card.active.active-close {
    max-height: none;
    overflow: visible;
    opacity: 1;
    transform: none;
    height: auto;
  }
  .clps-card .clps-icon,
  .clps-card p,
  .clps-card.active:not(.active-close) .clps-icon,
  .clps-card.active:not(.active-close) p {
    opacity: 1;
    max-height: none;
    overflow: visible;
    margin-bottom: 12px;
  }

  .research-wrap { flex-direction: column; height: auto; gap: 24px; }
  .research-right { width: 100%; height: auto; position: relative; }
  .research-card {
    position: relative;
    inset: auto;
    margin-bottom: 12px;
    height: auto;
    min-height: 160px;
  }
  .solution-wrap { flex-direction: column; }
  .sol-media { width: 100%; height: auto; min-height: 240px; }
  .vm-wrap { flex-direction: column; }
  .vm-box { max-width: none; padding: 24px; }
  .pf-wrap { flex-direction: column; padding: 32px 20px 0; }
  .pf-phone { margin: 0 auto; }
  .pf-actions .button { width: 100%; }
  .footer-top, .footer-links { flex-direction: column; gap: 24px; }
  .footer-links { gap: 28px; }
  .footer-logo-wrap { max-width: none; }

  .chat-wrap, .smart-section, .research-section { height: auto; }
  .chat-wrap { padding: 36px 0 48px; }
  .chat-sticky, .smart-sticky, .research-sticky {
    height: auto;
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .chat-main {
    position: relative;
    height: auto;
    width: 100%;
    left: auto;
    overflow: visible;
    padding-bottom: 12px;
  }
  .chat-globe {
    position: relative;
    top: 16px;
    margin: 0 auto 12px;
  }
  .chats-wrap {
    position: relative;
    top: auto;
    width: calc(100% - 32px);
    margin: 12px auto 0;
    max-height: none;
    overflow: visible;
    opacity: 1;
  }
  .chat-composer {
    position: relative;
    left: 16px;
    right: 16px;
    bottom: auto;
    width: calc(100% - 32px);
    margin: 16px auto 18px;
    opacity: 1;
    transform: none;
  }
  .chat-right {
    display: block;
    position: relative;
    width: 100%;
    right: auto;
    opacity: 1;
    transform: none;
    padding: 8px 4px 0;
  }
  .chat-right .comm-head { margin-bottom: 20px; }
  .chat-right ul li { font-size: 16px; margin-bottom: 16px; }
  .meet-icon { width: 52px; height: 52px; font-size: 20px; border-radius: 16px; }
  .smart-card,
  .smart-card:nth-child(2),
  .smart-card:nth-child(3),
  .smart-card:nth-child(4) {
    transform: none;
    width: 100%;
  }
  .smart-wrap { flex-direction: column; }
  .smart-section { height: auto; padding: 40px 0; }
  .tabs ul {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .tabs li {
    padding: 0 16px 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .ta-layout, .ide-layout, .legal-grid, .policy-grid { grid-template-columns: 1fr; }
  .ta-grid, .interop-grid, .hub-grid, .people-grid, .people-grid.tech, .mentors-grid, .stat-row, .official-links, .meta-list {
    grid-template-columns: 1fr 1fr;
  }
  .partner-row img { height: 56px; }
  .prop-row { flex-wrap: wrap; gap: 4px 12px; }
  .prop-row b { white-space: normal; }
  .niv-dock {
    left: 14px;
    bottom: 16px;
    transform: none;
    width: 64px;
    padding: 7px;
    border-radius: 50%;
  }
  .niv-dock:hover { transform: none; }
  .niv-dock-prompt,
  .niv-dock-pill { display: none; }
  #niv-dock #niv-orb-tooltip { opacity: 1; pointer-events: auto; left: 72px; }
}

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button, .hero-actions .play-badge, .pf-actions .play-badge { width: 100%; justify-content: center; }
  .brand-name span { display: none; }
  .tabs li { padding: 0 12px 14px; font-size: 14px; }
  .ta-grid, .interop-grid, .hub-grid, .people-grid, .people-grid.tech, .mentors-grid, .stat-row, .official-links, .meta-list {
    grid-template-columns: 1fr;
  }
  .person-card img, .mentor-card img, .avatar-clip { width: 112px; height: 112px; }
  .chat-modal { padding: 0; align-items: stretch; }
  .chat-sheet {
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    border-radius: 0;
  }
  .chat-form { flex-wrap: wrap; }
  .chat-form .button { width: 100%; }
  .phone-tabs span { font-size: 9px; padding: 6px 0; }
  .legal-hero h1 { font-size: 28px; }
  .legal-table { min-width: 520px; }
  .legal-panel, .legal-card { overflow-x: auto; }
  .reg-pill { font-size: 11px; }
  .footer-links { gap: 20px; }
  .head-tag {
    border-radius: 16px;
    padding: 8px 12px 8px 8px;
    justify-content: center;
  }
  .head-tag p { font-size: 12px; line-height: 1.4; }
  .mob-nav { width: 100%; }
  body { padding-bottom: 88px; }
}
