:root {
  color-scheme: light;
  --bg: #f4f6f5;
  --surface: #ffffff;
  --surface-muted: #f8faf9;
  --ink: #19212a;
  --muted: #667085;
  --muted-strong: #475467;
  --line: #dde4e0;
  --line-soft: #edf2ef;
  --primary: #116b5f;
  --primary-strong: #0b554b;
  --accent: #275d9f;
  --accent-warm: #d97706;
  --warning: #b54708;
  --danger: #b42318;
  --success: #087443;
  --sidebar: #17211f;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

/* QQK Agent global communication landing page */
.agent-landing {
  --agent-ink: #0c171b;
  --agent-muted: #526167;
  --agent-line: #d8e1df;
  --agent-paper: #f5f8f7;
  --agent-blue: #2f6df6;
  --agent-green: #16a66f;
  --agent-coral: #e45f50;
  background: #ffffff;
  color: var(--agent-ink);
  letter-spacing: 0;
  overflow: hidden;
}

.agent-landing *,
.agent-landing *::before,
.agent-landing *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.agent-hero {
  background: #081114;
  color: #ffffff;
  min-height: 650px;
  padding: 76px max(28px, calc((100vw - 1180px) / 2)) 42px;
  position: relative;
}

.agent-hero::before {
  background: rgba(255, 255, 255, 0.08);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 43%;
}

.agent-hero-network {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: 240px minmax(220px, 1fr) 270px;
  height: 250px;
  margin: 0 auto 24px;
  max-width: 1180px;
  overflow: hidden;
  position: relative;
}

.agent-network-platforms,
.agent-network-devices {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
  z-index: 2;
}

.agent-network-platforms span,
.agent-network-devices span {
  animation: agentNetworkNode 12s ease-in-out infinite;
  animation-delay: calc(var(--network-order) * -2.8s);
  background: #102126;
  border: 1px solid #2d444a;
  border-radius: 6px;
  color: #c9d5d7;
  min-height: 70px;
}

.agent-network-platforms span {
  align-items: center;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 9px;
  padding: 10px;
}

.agent-network-platforms span i {
  align-items: center;
  background: #19343a;
  border: 1px solid #37616b;
  border-radius: 5px;
  color: #7ed5ff;
  display: flex;
  flex: 0 0 28px;
  font-size: 11px;
  font-style: normal;
  height: 28px;
  justify-content: center;
}

.agent-network-devices span {
  display: grid;
  grid-template-columns: 9px 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 12px;
}

.agent-network-devices span > i {
  align-self: center;
  background: #35d49b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(53, 212, 155, 0.1);
  grid-row: 1 / 3;
  height: 6px;
  width: 6px;
}

.agent-network-devices b {
  align-self: end;
  color: #eef5f6;
  font-size: 11px;
}

.agent-network-devices small {
  color: #71878c;
  font-size: 9px;
  margin-top: 3px;
}

.agent-network-core {
  align-items: center;
  animation: agentCorePulse 4s ease-in-out infinite;
  background: #0c1a1e;
  border: 1px solid #4e8090;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 142px;
  justify-content: center;
  justify-self: center;
  overflow: hidden;
  position: relative;
  width: min(210px, 100%);
  z-index: 3;
}

.agent-network-core::after {
  animation: agentCoreScan 3.4s ease-in-out infinite;
  background: #61caff;
  content: "";
  height: 1px;
  left: 14px;
  opacity: 0.65;
  position: absolute;
  right: 14px;
  top: 28px;
}

.agent-network-core > i {
  align-items: center;
  background: #2f6df6;
  border-radius: 5px;
  color: #ffffff;
  display: flex;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.agent-network-core strong {
  color: #f2f7f8;
  font-size: 11px;
  margin-top: 12px;
}

.agent-network-core span {
  color: #6fd5ae;
  font-size: 9px;
  font-weight: 800;
  margin-top: 6px;
}

.agent-network-lines {
  bottom: 0;
  left: 160px;
  pointer-events: none;
  position: absolute;
  right: 180px;
  top: 0;
  z-index: 1;
}

.agent-network-lines > span {
  background: #29444b;
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
}

.agent-network-lines .line-one {
  transform: rotate(6deg);
}

.agent-network-lines .line-three {
  transform: rotate(-6deg);
}

.agent-network-lines .line-two {
  background: #386671;
}

.agent-network-lines i,
.agent-network-lines b {
  animation: agentPacketFly 4.8s linear infinite;
  background: #63cbff;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(99, 203, 255, 0.8);
  height: 6px;
  left: 0;
  position: absolute;
  top: -3px;
  width: 10px;
}

.agent-network-lines b {
  animation-delay: -2.4s;
  background: #5ad5a6;
  box-shadow: 0 0 12px rgba(90, 213, 166, 0.8);
}

.agent-network-lines .line-one i,
.agent-network-lines .line-one b {
  animation-duration: 5.8s;
}

.agent-network-lines .line-three i,
.agent-network-lines .line-three b {
  animation-duration: 4.2s;
}

@keyframes agentNetworkNode {
  0%, 18%, 100% {
    border-color: #2d444a;
    box-shadow: none;
    opacity: 0.58;
    transform: translateY(0);
  }
  28%, 48% {
    border-color: #4fbf9a;
    box-shadow: 0 0 22px rgba(79, 191, 154, 0.18);
    opacity: 1;
    transform: translateY(-3px);
  }
  62% {
    border-color: #37606a;
    opacity: 0.78;
    transform: translateY(0);
  }
}

@keyframes agentPacketFly {
  0% {
    left: 0;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 10px);
    opacity: 0;
  }
}

@keyframes agentCorePulse {
  0%, 100% {
    border-color: #3f6f7c;
    box-shadow: 0 0 0 rgba(47, 109, 246, 0);
  }
  50% {
    border-color: #72d5ff;
    box-shadow: 0 0 36px rgba(47, 109, 246, 0.24);
  }
}

@keyframes agentCoreScan {
  0%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
  15% {
    opacity: 0.7;
  }
  85% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(84px);
  }
}

.agent-hero-copy {
  margin: 0 auto;
  max-width: 1040px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.agent-kicker {
  color: #8fd7bd;
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.agent-kicker.dark {
  color: #0c7b59;
}

.agent-hero h1 {
  font-size: clamp(46px, 6.5vw, 88px);
  font-weight: 650;
  line-height: 1.16;
  margin: 22px auto 0;
  max-width: 1040px;
}

.agent-hero h1 strong {
  color: #65c8ff;
  font-weight: 760;
}

.agent-year {
  color: #ffb4a9;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  margin: 24px 0 0;
}

.agent-mobile-network-teaser {
  display: none;
}

.agent-hero-desc {
  color: #c9d3d5;
  font-size: 18px;
  line-height: 1.75;
  margin: 24px auto 0;
  max-width: 850px;
}

.agent-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.agent-landing .agent-primary,
.agent-landing .agent-secondary {
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  min-height: 48px;
  padding: 0 24px;
}

.agent-landing .agent-primary {
  background: var(--agent-green);
  border-color: var(--agent-green);
  color: #ffffff;
}

.agent-landing .agent-primary:hover {
  background: #0e8d5d;
  border-color: #0e8d5d;
}

.agent-landing .agent-secondary {
  background: transparent;
  border: 1px solid #829095;
  color: #ffffff;
}

.agent-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 28px auto 0;
}

.agent-platforms span {
  animation: agentPlatformSwitch 16s ease-in-out infinite;
  border: 1px solid #344348;
  border-radius: 4px;
  color: #d7dfe1;
  font-size: 12px;
  padding: 7px 10px;
}

.agent-platforms span:nth-child(2) { animation-delay: -2s; }
.agent-platforms span:nth-child(3) { animation-delay: -4s; }
.agent-platforms span:nth-child(4) { animation-delay: -6s; }
.agent-platforms span:nth-child(5) { animation-delay: -8s; }
.agent-platforms span:nth-child(6) { animation-delay: -10s; }
.agent-platforms span:nth-child(7) { animation-delay: -12s; }
.agent-platforms span:nth-child(8) { animation-delay: -14s; }

@keyframes agentPlatformSwitch {
  0%, 8%, 100% {
    background: transparent;
    border-color: #344348;
    color: #879599;
  }
  12%, 23% {
    background: #163a32;
    border-color: #35bd88;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(53, 189, 136, 0.22);
  }
  28% {
    background: transparent;
    border-color: #344348;
    color: #a9b4b7;
  }
}

/* Browser Agent hero: parallel browser fleet and live translation */
.agent-hero {
  align-items: center;
  background:
    radial-gradient(circle at 78% 42%, rgba(34, 145, 255, 0.14), transparent 28%),
    radial-gradient(circle at 72% 66%, rgba(22, 215, 176, 0.1), transparent 30%),
    linear-gradient(135deg, #050b10 0%, #071216 52%, #09161a 100%);
  display: grid;
  isolation: isolate;
  min-height: min(720px, calc(100svh - 68px));
  padding-bottom: 48px;
  padding-top: 48px;
}

.agent-hero::before {
  background-image:
    linear-gradient(rgba(123, 210, 231, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 210, 231, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  bottom: 0;
  height: auto;
  left: 0;
  mask-image: linear-gradient(90deg, transparent, #000 46%, #000 100%);
  opacity: 0.9;
  right: 0;
  top: 0;
}

.agent-hero::after {
  background: linear-gradient(90deg, #071115 0%, rgba(7, 17, 21, 0.24) 54%, transparent 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.agent-hero-layout {
  align-items: center;
  display: grid;
  gap: clamp(26px, 4vw, 58px);
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  margin: 0 auto;
  max-width: 1280px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.agent-hero-layout .agent-hero-copy {
  margin: 0;
  max-width: 650px;
  text-align: left;
}

.agent-hero-layout .agent-hero h1,
.agent-hero-layout h1 {
  font-size: clamp(46px, 4.5vw, 64px);
  margin-left: 0;
  margin-right: 0;
  max-width: 650px;
}

.agent-hero-layout h1 > span {
  white-space: nowrap;
}

.agent-hero-layout .agent-hero-desc {
  margin-left: 0;
  margin-right: 0;
  max-width: 630px;
}

.agent-hero-layout .agent-actions,
.agent-hero-layout .agent-platforms {
  justify-content: flex-start;
}

.agent-hero-layout .agent-platforms {
  margin-left: 0;
  margin-right: 0;
}

.browser-agent-visual {
  height: 550px;
  justify-self: end;
  max-width: 670px;
  perspective: 1200px;
  position: relative;
  transform: translateZ(0);
  width: 100%;
}

.ba-visual-grid {
  background-image:
    linear-gradient(rgba(88, 196, 225, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 196, 225, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  border: 1px solid rgba(91, 196, 222, 0.08);
  border-radius: 50%;
  height: 480px;
  left: 50%;
  mask-image: radial-gradient(circle, #000 10%, transparent 70%);
  opacity: 0.8;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
}

.browser-agent-visual::before,
.browser-agent-visual::after {
  border: 1px solid rgba(53, 211, 165, 0.12);
  border-radius: 50%;
  content: "";
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.browser-agent-visual::before {
  animation: baOrbitSpin 22s linear infinite;
  border-left-color: rgba(71, 210, 255, 0.58);
  border-right-color: rgba(53, 211, 165, 0.4);
  height: 440px;
  width: 440px;
}

.browser-agent-visual::after {
  animation: baOrbitSpin 15s linear infinite reverse;
  border-bottom-color: rgba(71, 210, 255, 0.42);
  height: 360px;
  width: 360px;
}

.ba-flow-map {
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.ba-flow-map path {
  fill: none;
  stroke: rgba(92, 195, 219, 0.28);
  stroke-dasharray: 4 8;
  stroke-width: 1;
}

.ba-flow-packet {
  fill: #57d6ff;
  filter: drop-shadow(0 0 7px rgba(87, 214, 255, 0.9));
}

.ba-flow-packet.packet-two {
  fill: #4be4b5;
  filter: drop-shadow(0 0 7px rgba(75, 228, 181, 0.9));
}

.ba-flow-packet.packet-three {
  fill: #8a9fff;
  filter: drop-shadow(0 0 7px rgba(138, 159, 255, 0.9));
}

.ba-browser-window {
  backdrop-filter: blur(18px);
  background: rgba(8, 20, 27, 0.94);
  border: 1px solid rgba(113, 207, 226, 0.25);
  border-radius: 10px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: absolute;
}

.ba-browser-window::after {
  animation: baWindowScan 5.4s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(68, 212, 255, 0.16), transparent);
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 34px;
}

.ba-browser-bar {
  align-items: center;
  background: rgba(13, 30, 38, 0.96);
  border-bottom: 1px solid rgba(122, 202, 219, 0.12);
  color: #849aa2;
  display: flex;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
}

.ba-browser-bar > i {
  background: #42535a;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.ba-browser-bar > i:first-child { background: #f07167; }
.ba-browser-bar > i:nth-child(2) { background: #e4b94f; }
.ba-browser-bar > i:nth-child(3) { background: #4ccc93; }

.ba-browser-bar > span {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 4px;
  margin-left: 3px;
  overflow: hidden;
  padding: 4px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ba-browser-bar > span b {
  color: #5fc6de;
  font-weight: 500;
  margin-right: 4px;
}

.ba-browser-bar > em {
  color: #4ee0ae;
  font-size: 10px;
  font-style: normal;
  margin-left: auto;
}

.ba-window-main {
  animation: baMainWindowFloat 7s ease-in-out infinite;
  height: 310px;
  left: 22px;
  top: 122px;
  transform: rotateY(-3deg) rotateX(1deg);
  transform-origin: center;
  width: min(470px, calc(100% - 54px));
  z-index: 4;
}

.ba-browser-body {
  display: grid;
  grid-template-columns: 48px 1fr;
  height: calc(100% - 34px);
}

.ba-browser-body > aside {
  align-items: center;
  background: #0b1920;
  border-right: 1px solid rgba(112, 192, 209, 0.1);
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 14px;
}

.ba-browser-body > aside b,
.ba-browser-body > aside span {
  align-items: center;
  border: 1px solid rgba(102, 168, 183, 0.2);
  border-radius: 5px;
  color: #638089;
  display: flex;
  font-size: 9px;
  font-weight: 800;
  height: 27px;
  justify-content: center;
  width: 27px;
}

.ba-browser-body > aside b {
  background: #16a66f;
  border-color: #42d09a;
  color: #ffffff;
}

.ba-browser-body > aside span.active {
  background: rgba(50, 197, 244, 0.12);
  border-color: rgba(50, 197, 244, 0.54);
  color: #74d9f7;
}

.ba-chat-workspace {
  background:
    radial-gradient(circle at 75% 20%, rgba(54, 185, 211, 0.08), transparent 30%),
    #0d1b22;
  min-width: 0;
  padding: 12px;
  position: relative;
}

.ba-chat-head {
  align-items: center;
  border-bottom: 1px solid rgba(123, 201, 216, 0.1);
  display: flex;
  gap: 8px;
  padding-bottom: 9px;
}

.ba-chat-head > span {
  background: linear-gradient(135deg, #4278e8, #5cd5ad);
  border-radius: 50%;
  height: 28px;
  width: 28px;
}

.ba-chat-head > div {
  display: grid;
  gap: 2px;
}

.ba-chat-head b {
  color: #d8e8eb;
  font-size: 12px;
}

.ba-chat-head small {
  color: #80989f;
  font-size: 10px;
}

.ba-chat-head > i {
  animation: baLivePulse 2s ease-in-out infinite;
  background: #4cdfa8;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(76, 223, 168, 0.8);
  height: 5px;
  margin-left: auto;
  width: 5px;
}

.ba-chat-bubble {
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.45;
  max-width: 72%;
  padding: 9px 10px;
}

.ba-chat-bubble.incoming {
  animation: baBubbleIn 8s ease-in-out infinite;
  background: #172b34;
  color: #c0d0d3;
  margin-top: 14px;
}

.ba-chat-bubble.outgoing {
  animation: baBubbleOut 8s ease-in-out infinite;
  animation-delay: -4s;
  background: rgba(18, 139, 95, 0.35);
  border: 1px solid rgba(71, 211, 159, 0.18);
  color: #d7eee6;
  margin-left: auto;
  margin-top: 10px;
}

.ba-typing {
  align-items: center;
  bottom: 12px;
  color: #7e959b;
  display: flex;
  font-size: 10px;
  gap: 3px;
  left: 14px;
  position: absolute;
}

.ba-typing i {
  animation: baTyping 1.2s ease-in-out infinite;
  background: #4bcfaa;
  border-radius: 50%;
  height: 3px;
  width: 3px;
}

.ba-typing i:nth-child(2) { animation-delay: 0.16s; }
.ba-typing i:nth-child(3) { animation-delay: 0.32s; }
.ba-typing span { margin-left: 3px; }

.ba-translation-plugin {
  animation: baPluginPulse 5s ease-in-out infinite;
  backdrop-filter: blur(18px);
  background: rgba(13, 27, 35, 0.96);
  border: 1px solid rgba(92, 218, 188, 0.38);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46), 0 0 26px rgba(55, 204, 164, 0.08);
  padding: 13px;
  position: absolute;
  right: 14px;
  top: 68px;
  width: 200px;
  z-index: 3;
}

.ba-plugin-head {
  align-items: center;
  display: flex;
  gap: 6px;
}

.ba-plugin-head > span {
  align-items: center;
  background: linear-gradient(135deg, #2f6df6, #21c692);
  border-radius: 4px;
  color: white;
  display: flex;
  font-size: 11px;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.ba-plugin-head > b {
  color: #dce9eb;
  font-size: 11px;
}

.ba-plugin-head > i {
  color: #47dba6;
  font-size: 9px;
  font-style: normal;
  margin-left: auto;
}

.ba-language-row {
  align-items: center;
  display: flex;
  gap: 7px;
  margin: 10px 0 8px;
}

.ba-language-row strong {
  background: rgba(56, 124, 245, 0.13);
  border: 1px solid rgba(86, 151, 255, 0.24);
  border-radius: 3px;
  color: #84b2ff;
  font-size: 10px;
  padding: 4px 6px;
}

.ba-language-row em {
  animation: baLanguageFlow 1.8s ease-in-out infinite;
  color: #4cdbab;
  font-size: 12px;
  font-style: normal;
}

.ba-translation-plugin > p {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #91a6ac;
  font-size: 10px;
  line-height: 1.4;
  margin: 0;
  padding: 6px 0 0;
}

.ba-translation-plugin > p + p {
  color: #d8e8e4;
  margin-top: 5px;
}

.ba-translation-plugin > small {
  align-items: center;
  color: #76948e;
  display: flex;
  font-size: 9px;
  gap: 5px;
  margin-top: 8px;
}

.ba-translation-plugin > small i {
  animation: baLivePulse 2s ease-in-out infinite;
  background: #45dca7;
  border-radius: 50%;
  height: 4px;
  width: 4px;
}

.ba-window-side {
  animation: baSideWindowFloat 8s ease-in-out infinite;
  height: 124px;
  width: 236px;
  z-index: 2;
}

.ba-window-side .ba-browser-bar {
  height: 30px;
}

.ba-window-social {
  left: 0;
  top: 34px;
  transform: rotateY(8deg) rotateZ(-1deg);
}

.ba-window-crm {
  animation-delay: -4s;
  bottom: 18px;
  right: 0;
  transform: rotateY(-8deg) rotateZ(1deg);
}

.ba-mini-page {
  align-items: center;
  display: flex;
  gap: 9px;
  padding: 10px 11px 7px;
}

.ba-mini-avatar {
  align-items: center;
  background: rgba(48, 114, 236, 0.18);
  border: 1px solid rgba(96, 153, 255, 0.28);
  border-radius: 5px;
  color: #75a7ff;
  display: flex;
  font-size: 11px;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.ba-mini-page > div {
  display: grid;
  gap: 3px;
}

.ba-mini-page b {
  color: #c8d9dc;
  font-size: 11px;
}

.ba-mini-page small {
  color: #4fd7a7;
  font-size: 9px;
}

.ba-mini-progress {
  background: rgba(255, 255, 255, 0.05);
  height: 2px;
  margin: 0 11px;
  overflow: hidden;
}

.ba-mini-progress i {
  animation: baProgress 3.8s ease-in-out infinite;
  background: linear-gradient(90deg, #367df2, #43d8a6);
  display: block;
  height: 100%;
  width: 64%;
}

.ba-parallel-status {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(7, 20, 26, 0.86);
  border: 1px solid rgba(78, 203, 172, 0.24);
  border-radius: 999px;
  color: #a0b3b7;
  display: flex;
  font-size: 10px;
  gap: 6px;
  left: 40px;
  padding: 8px 12px;
  position: absolute;
  top: 91px;
  z-index: 5;
}

.ba-parallel-status span {
  align-items: center;
  display: flex;
  gap: 6px;
}

.ba-parallel-status span i {
  animation: baLivePulse 1.8s ease-in-out infinite;
  background: #4ae0a9;
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(74, 224, 169, 0.72);
  height: 5px;
  width: 5px;
}

.ba-parallel-status b {
  color: #54dcb0;
  font-size: 10px;
  margin-left: 3px;
}

.ba-ai-orb {
  align-items: center;
  animation: baOrbPulse 4s ease-in-out infinite;
  background: rgba(11, 25, 34, 0.94);
  border: 1px solid rgba(92, 207, 234, 0.56);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(48, 164, 241, 0.2);
  display: flex;
  height: 60px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 242px;
  width: 60px;
  z-index: 6;
}

.ba-ai-orb span {
  background: linear-gradient(135deg, #66d5ff, #54e1ac);
  background-clip: text;
  color: transparent;
  font-size: 15px;
  font-weight: 900;
}

.ba-ai-orb i {
  animation: baRingSpin 5s linear infinite;
  border: 1px solid rgba(83, 213, 239, 0.3);
  border-left-color: #64dcff;
  border-radius: 50%;
  inset: -7px;
  position: absolute;
}

.ba-ai-orb i:last-child {
  animation-direction: reverse;
  animation-duration: 3.5s;
  border-left-color: transparent;
  border-right-color: #50dda9;
  inset: -13px;
}

.ba-task-stack {
  bottom: 0;
  display: grid;
  gap: 5px;
  left: 44px;
  position: absolute;
  width: 260px;
  z-index: 5;
}

.ba-task-stack > span {
  align-items: center;
  animation: baTaskCycle 6s ease-in-out infinite;
  animation-delay: calc(var(--task-order) * -2s);
  backdrop-filter: blur(12px);
  background: rgba(9, 22, 29, 0.9);
  border: 1px solid rgba(111, 196, 213, 0.13);
  border-radius: 5px;
  color: #a0b2b6;
  display: grid;
  font-size: 10px;
  gap: 7px;
  grid-template-columns: 6px 20px 1fr auto;
  min-height: 30px;
  padding: 6px 9px;
}

.ba-task-stack > span > i {
  background: #4bd9a8;
  border-radius: 50%;
  height: 5px;
  width: 5px;
}

.ba-task-stack > span > b {
  color: #708991;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
}

.ba-task-stack > span > em {
  color: #4fd5a7;
  font-size: 9px;
  font-style: normal;
}

@keyframes baOrbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes baRingSpin {
  to { transform: rotate(360deg); }
}

@keyframes baMainWindowFloat {
  0%, 100% { transform: rotateY(-3deg) rotateX(1deg) translateY(0); }
  50% { transform: rotateY(-1deg) rotateX(0) translateY(-7px); }
}

@keyframes baSideWindowFloat {
  0%, 100% { margin-top: 0; opacity: 0.74; }
  50% { margin-top: -7px; opacity: 1; }
}

@keyframes baWindowScan {
  0%, 18% { opacity: 0; transform: translateY(0); }
  28% { opacity: 0.8; }
  78% { opacity: 0.35; }
  88%, 100% { opacity: 0; transform: translateY(210px); }
}

@keyframes baLivePulse {
  0%, 100% { opacity: 0.45; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes baBubbleIn {
  0%, 15%, 100% { opacity: 0.35; transform: translateY(5px); }
  22%, 70% { opacity: 1; transform: translateY(0); }
}

@keyframes baBubbleOut {
  0%, 20%, 100% { opacity: 0.28; transform: translateY(5px); }
  30%, 72% { opacity: 1; transform: translateY(0); }
}

@keyframes baTyping {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@keyframes baPluginPulse {
  0%, 100% { border-color: rgba(92, 218, 188, 0.24); transform: translateY(0); }
  50% { border-color: rgba(92, 218, 188, 0.62); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46), 0 0 34px rgba(55, 204, 164, 0.16); transform: translateY(-3px); }
}

@keyframes baLanguageFlow {
  0%, 100% { opacity: 0.45; transform: translateX(-2px); }
  50% { opacity: 1; transform: translateX(2px); }
}

@keyframes baProgress {
  0% { transform: translateX(-105%); }
  55%, 75% { transform: translateX(0); }
  100% { transform: translateX(165%); }
}

@keyframes baOrbPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(48, 164, 241, 0.12); transform: scale(0.96); }
  50% { box-shadow: 0 0 44px rgba(48, 164, 241, 0.3); transform: scale(1); }
}

@keyframes baTaskCycle {
  0%, 18%, 100% { border-color: rgba(111, 196, 213, 0.12); opacity: 0.48; transform: translateX(0); }
  28%, 52% { border-color: rgba(75, 217, 168, 0.34); opacity: 1; transform: translateX(7px); }
  65% { opacity: 0.72; transform: translateX(0); }
}

.agent-product-stage {
  background: #eef3f2;
  border: 1px solid #3a484c;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  color: var(--agent-ink);
  margin: 58px auto 0;
  max-width: 1180px;
  min-height: 410px;
  overflow: hidden;
  position: relative;
}

.agent-product-showcase {
  background: #081114;
  padding: 0 max(28px, calc((100vw - 1180px) / 2)) 42px;
}

.agent-product-showcase .agent-product-stage {
  margin-top: 0;
}

/* Local Console unified-inbox inspired preview. All conversations are fictional demo data. */
.agent-product-stage { background: #f8fafc; border-color: #34474c; min-height: 514px; }
.agent-inbox-heading { min-height: 62px; padding: 9px 16px; }
.agent-inbox-heading div { display: grid; gap: 1px 8px; grid-template-columns: 8px auto; grid-template-rows: 21px 17px; }
.agent-inbox-heading .agent-live-dot { grid-row: 1 / 3; margin-top: 10px; }
.agent-inbox-heading strong { font-size: 11px; font-weight: 800; }
.agent-inbox-heading b { color: #172b4d; font-size: 16px; grid-column: 3; grid-row: 1; margin-left: 4px; }
.agent-inbox-heading small { color: #6b7c93; font-size: 10px; grid-column: 2 / 4; grid-row: 2; }
.agent-inbox-heading > span { color: #516373; font-size: 10px; white-space: nowrap; }
.agent-inbox-heading > span strong { color: #172b4d; font-size: 15px; margin: 0 3px 0 7px; }

.agent-inbox-filters { background: #f5f7fa; border-bottom: 1px solid #dce3ea; display: grid; gap: 7px; grid-template-columns: minmax(185px, 1.65fr) repeat(4, minmax(104px, .82fr)) max-content; padding: 10px 12px; }
.agent-inbox-filters > span, .agent-inbox-filters > b { align-items: center; background: #ffffff; border: 1px solid #d5dee8; border-radius: 5px; color: #53667b; display: flex; font-size: 10px; font-weight: 600; height: 30px; justify-content: space-between; padding: 0 9px; }
.agent-inbox-filters .agent-inbox-search { color: #8794a3; font-weight: 500; justify-content: flex-start; }
.agent-inbox-filters > b { color: #1a385b; font-weight: 800; padding: 0 12px; }

.agent-inbox-layout { display: grid; grid-template-columns: minmax(210px, .38fr) minmax(480px, 1fr); min-height: 438px; }
.agent-inbox-list { background: #ffffff; border-right: 1px solid #dce3ea; overflow: hidden; }
.agent-inbox-row { animation: agentInboxRowIn 13s ease-in-out infinite; animation-delay: calc(var(--row) * -2.1s); border-bottom: 1px solid #e5eaf0; min-height: 103px; padding: 11px 12px 10px; position: relative; }
.agent-inbox-row.active { background: #eaf2ff; border-left: 3px solid #2f6df6; padding-left: 9px; }
.agent-inbox-row > div { align-items: center; display: flex; justify-content: space-between; }
.agent-platform-tag { background: #eff7ff; border: 1px solid #a9d6f6; border-radius: 4px; color: #136796; display: inline-block; font-size: 9px; font-weight: 800; line-height: 19px; padding: 0 6px; }
.agent-platform-tag.facebook { background: #eff3ff; border-color: #c3d0ff; color: #3564bd; }
.agent-platform-tag.line { background: #ebfbef; border-color: #aee5bc; color: #178449; }
.agent-platform-tag.whatsapp { background: #eafaf1; border-color: #afe6c4; color: #16824d; }
.agent-inbox-row time { color: #6f8198; font-size: 9px; }
.agent-inbox-row strong { color: #132b49; display: block; font-size: 11px; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-inbox-row p { color: #52708d; font-size: 10px; margin: 4px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-inbox-row small { color: #6b7c93; font-size: 9px; }
.agent-inbox-row > b { align-items: center; animation: agentUnreadPulse 3.2s ease-in-out infinite; background: #2f6df6; border-radius: 50%; bottom: 12px; color: #ffffff; display: flex; font-size: 9px; height: 19px; justify-content: center; position: absolute; right: 12px; width: 19px; }

.agent-inbox-thread { background: #f6f8fb; display: grid; grid-template-rows: 58px minmax(205px, 1fr) 137px; min-width: 0; }
.agent-inbox-thread > header { align-items: center; background: #ffffff; border-bottom: 1px solid #dce3ea; display: flex; justify-content: space-between; padding: 8px 13px; }
.agent-inbox-thread > header > div:first-child { align-items: center; display: flex; gap: 8px; min-width: 0; }
.agent-inbox-thread > header strong { color: #132b49; font-size: 12px; }
.agent-inbox-thread > header small { color: #63809e; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-thread-actions { display: flex; flex-shrink: 0; gap: 6px; }
.agent-thread-actions span { border: 1px solid #d8e1eb; border-radius: 4px; color: #35516d; font-size: 9px; font-weight: 700; padding: 6px 8px; }
.agent-thread-messages { overflow: hidden; padding: 17px 18px 10px; }
.agent-thread-bubble { border: 1px solid #d8e2ec; border-radius: 6px; color: #17324c; font-size: 11px; line-height: 1.5; max-width: 67%; padding: 10px 12px; position: relative; }
.agent-thread-bubble p, .agent-thread-bubble small, .agent-thread-translation p { margin: 0; }
.agent-thread-bubble small { color: #75889c; display: block; font-size: 8px; margin-top: 5px; }
.agent-thread-bubble.incoming { animation: agentInboxMessageIn 12s ease-in-out infinite; background: #ffffff; }
.agent-thread-translation { align-items: flex-start; animation: agentInboxTranslationIn 12s ease-in-out infinite; background: #eff6ff; border-left: 2px solid #2f6df6; color: #365778; display: flex; font-size: 10px; gap: 7px; line-height: 1.5; margin: 7px 0 10px 13px; max-width: 72%; padding: 5px 7px; }
.agent-thread-translation span { background: #2f6df6; border-radius: 3px; color: #ffffff; font-size: 8px; font-weight: 900; padding: 2px 4px; }
.agent-thread-bubble.outgoing { animation: agentInboxMessageOut 12s ease-in-out infinite; background: #e4faed; border-color: #aee6c2; margin-left: auto; }
.agent-thread-bubble.outgoing small { color: #22865b; text-align: right; }

.agent-thread-composer { background: #ffffff; border-top: 1px solid #dce3ea; display: grid; gap: 7px; grid-template-columns: 1fr 140px; padding: 9px 12px 10px; }
.agent-composer-select { grid-column: 1; }
.agent-composer-select.language { grid-column: 2; grid-row: 1; }
.agent-composer-select small { color: #49657e; display: block; font-size: 8px; font-weight: 800; margin-bottom: 2px; }
.agent-composer-select span { border: 1px solid #d6e0ea; border-radius: 4px; color: #284767; display: block; font-size: 10px; height: 26px; line-height: 24px; overflow: hidden; padding: 0 8px; text-overflow: ellipsis; white-space: nowrap; }
.agent-thread-composer > p { border: 1px solid #d6e0ea; border-radius: 5px; color: #7c8fa3; font-size: 10px; grid-column: 1 / 3; height: 35px; margin: 0; padding: 9px; position: relative; }
.agent-thread-composer > p i { animation: agentComposerCaret 1s steps(2, start) infinite; background: #2f6df6; display: inline-block; height: 12px; margin-left: 4px; vertical-align: -2px; width: 1px; }
.agent-thread-composer > div:last-child { display: flex; gap: 6px; grid-column: 1 / 3; }
.agent-thread-composer button { background: #ffffff; border: 1px solid #cbd8e5; border-radius: 4px; color: #244260; font-size: 9px; font-weight: 800; height: 25px; padding: 0 9px; }
.agent-thread-composer button:first-child { background: #2f6df6; border-color: #2f6df6; color: #ffffff; }

@keyframes agentInboxRowIn { 0%, 5%, 100% { opacity: .88; } 18%, 72% { opacity: 1; } }
@keyframes agentUnreadPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 109, 246, .1); transform: scale(1); } 50% { box-shadow: 0 0 0 5px rgba(47, 109, 246, 0); transform: scale(1.07); } }
@keyframes agentInboxMessageIn { 0%, 8%, 100% { opacity: .72; transform: translateX(-5px); } 16%, 92% { opacity: 1; transform: translateX(0); } }
@keyframes agentInboxTranslationIn { 0%, 18%, 100% { opacity: .52; transform: translateY(3px); } 27%, 92% { opacity: 1; transform: translateY(0); } }
@keyframes agentInboxMessageOut { 0%, 33%, 100% { opacity: .65; transform: translateX(5px); } 44%, 92% { opacity: 1; transform: translateX(0); } }
@keyframes agentComposerCaret { 50% { opacity: 0; } }

@media (max-width: 980px) {
  .agent-inbox-filters { grid-template-columns: minmax(170px, 1.5fr) repeat(3, minmax(92px, 1fr)); }
  .agent-inbox-filters > span:nth-of-type(5) { display: none; }
  .agent-inbox-layout { grid-template-columns: 220px minmax(390px, 1fr); }
}

@media (max-width: 680px) {
  .agent-product-stage { min-height: 458px; }
  .agent-inbox-heading { min-height: 58px; }
  .agent-inbox-heading > span,
  .agent-inbox-heading small,
  .agent-inbox-filters > span:not(.agent-inbox-search),
  .agent-inbox-filters > b,
  .agent-inbox-list,
  .agent-thread-actions,
  .agent-inbox-thread > header small,
  .agent-composer-select.language { display: none; }
  .agent-inbox-heading b { font-size: 14px; }
  .agent-inbox-filters { display: block; padding: 8px 10px; }
  .agent-inbox-filters .agent-inbox-search { width: 100%; }
  .agent-inbox-layout { display: block; min-height: 392px; }
  .agent-inbox-thread { grid-template-rows: 48px minmax(194px, 1fr) 150px; min-height: 392px; }
  .agent-inbox-thread > header { padding: 7px 10px; }
  .agent-thread-messages { padding: 13px 11px 8px; }
  .agent-thread-bubble { font-size: 10px; max-width: 87%; padding: 8px 9px; }
  .agent-thread-translation { font-size: 9px; margin-left: 7px; max-width: 91%; }
  .agent-thread-composer { grid-template-columns: 1fr; padding: 8px 10px; }
  .agent-composer-select, .agent-thread-composer > p, .agent-thread-composer > div:last-child { grid-column: 1; }
}

.agent-product-bar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--agent-line);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
}

.agent-product-bar div {
  align-items: center;
  display: flex;
  gap: 9px;
}

.agent-product-bar > span {
  color: #0e835b;
  font-weight: 800;
}

.agent-live-dot {
  background: #19ae74;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(25, 174, 116, 0.14);
  display: inline-block;
  height: 8px;
  width: 8px;
}

.agent-product-body {
  display: grid;
  grid-template-columns: 230px minmax(320px, 1fr) 270px;
  min-height: 362px;
}

.agent-profile-list,
.agent-conversation,
.agent-assistant-pane {
  min-width: 0;
  padding: 18px;
}

.agent-profile-list {
  background: #f6f8f8;
  border-right: 1px solid var(--agent-line);
}

.agent-conversation {
  background: #ffffff;
}

.agent-assistant-pane {
  background: #102024;
  color: #ffffff;
}

.agent-pane-label {
  color: #718086;
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.agent-assistant-pane .agent-pane-label {
  color: #8ea1a5;
}

.agent-profile {
  align-items: center;
  border-left: 3px solid transparent;
  display: grid;
  gap: 9px;
  grid-template-columns: 28px 1fr 8px;
  margin: 0 -8px;
  min-height: 52px;
  padding: 0 9px;
}

.agent-profile.active {
  background: #e7f0ff;
  border-left-color: var(--agent-blue);
}

.agent-profile i {
  align-items: center;
  background: #dbe3e2;
  border-radius: 50%;
  display: flex;
  font-size: 10px;
  font-style: normal;
  height: 28px;
  justify-content: center;
}

.agent-profile span {
  font-size: 12px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-profile b {
  background: var(--agent-green);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.agent-message {
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 78%;
  padding: 12px 14px;
}

.agent-message p,
.agent-translation p {
  margin: 0;
}

.agent-message small {
  color: #6c7b80;
  display: block;
  font-size: 10px;
  margin-bottom: 5px;
}

.agent-message.incoming {
  animation: agentIncomingMessage 10s ease-in-out infinite;
  background: #edf4ff;
  border: 1px solid #d8e6ff;
}

.agent-message.outgoing {
  animation: agentOutgoingMessage 10s ease-in-out infinite;
  background: #dff7e9;
  border: 1px solid #bfe9d1;
  margin-left: auto;
}

.agent-message.outgoing small {
  color: #13754f;
  margin: 7px 0 0;
  text-align: right;
}

.agent-translation {
  animation: agentTranslationReveal 10s ease-in-out infinite;
  align-items: flex-start;
  border-left: 2px solid var(--agent-blue);
  color: #3b4b50;
  display: flex;
  font-size: 12px;
  gap: 10px;
  line-height: 1.55;
  margin: 0 12px 16px;
  padding: 3px 0 3px 12px;
}

@keyframes agentIncomingMessage {
  0%, 5%, 100% { opacity: 0.45; transform: translateX(-8px); }
  12%, 92% { opacity: 1; transform: translateX(0); }
}

@keyframes agentTranslationReveal {
  0%, 15%, 100% { opacity: 0.28; transform: translateY(5px); }
  24%, 92% { opacity: 1; transform: translateY(0); }
}

@keyframes agentOutgoingMessage {
  0%, 30%, 100% { opacity: 0.3; transform: translateX(8px); }
  42%, 92% { opacity: 1; transform: translateX(0); }
}

.agent-translation span {
  background: var(--agent-blue);
  border-radius: 3px;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 5px;
}

.agent-signal {
  align-items: center;
  border-bottom: 1px solid #304348;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 18px 0 28px;
}

.agent-signal b {
  align-items: center;
  background: #1e3338;
  border: 1px solid #40555a;
  border-radius: 50%;
  display: flex;
  font-size: 12px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.agent-signal span {
  color: #6ec8ff;
  font-size: 22px;
}

.agent-wave {
  align-items: center;
  display: flex;
  gap: 4px;
  height: 70px;
  justify-content: center;
  margin: 18px 0;
}

.agent-wave i {
  animation: agentWaveMotion 1.1s ease-in-out infinite alternate;
  animation-delay: calc(var(--wave) * -70ms);
  background: #65c8ff;
  border-radius: 2px;
  display: block;
  height: calc(var(--wave) * 4px);
  width: 4px;
}

@keyframes agentWaveMotion {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}

.agent-assistant-status {
  color: #afbdc0;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.agent-assistant-status span {
  background: #30bd80;
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  margin-right: 6px;
  width: 7px;
}

.agent-manifesto {
  background: #f0f4f3;
  padding: 88px max(28px, calc((100vw - 1100px) / 2));
}

.agent-manifesto > p {
  color: var(--agent-coral);
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 14px;
  text-align: center;
}

.agent-manifesto h2,
.agent-section-head h2,
.agent-scale-copy h2,
.agent-final-cta h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.08;
  margin: 0;
}

.agent-manifesto h2 {
  text-align: center;
}

.agent-manifesto > div {
  display: grid;
  gap: 60px;
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: 34px;
}

.agent-manifesto div > p,
.agent-section-head > p,
.agent-scale-copy > p,
.agent-final-cta > p {
  color: var(--agent-muted);
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}

.agent-manifesto blockquote,
.agent-voice-band blockquote,
.agent-final-cta blockquote {
  border-left: 4px solid var(--agent-coral);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
  padding-left: 24px;
}

.agent-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 104px 28px;
}

.agent-section-head {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  text-align: center;
}

.agent-section-head h2 {
  margin-top: 14px;
}

.agent-section-head > p {
  margin-left: auto;
  margin-right: auto;
  margin-top: 22px;
  max-width: 820px;
}

.agent-capability-grid {
  border-left: 1px solid var(--agent-line);
  border-top: 1px solid var(--agent-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
}

.agent-capability-grid article {
  border-bottom: 1px solid var(--agent-line);
  border-right: 1px solid var(--agent-line);
  min-height: 230px;
  padding: 28px;
}

.agent-capability-grid article > span {
  color: var(--agent-coral);
  font-size: 12px;
  font-weight: 900;
}

.agent-capability-grid h3,
.agent-managed-flow h3,
.agent-audience-grid h3,
.agent-voice-flow h3 {
  font-size: 20px;
  margin: 24px 0 10px;
}

.agent-capability-grid p,
.agent-managed-flow p,
.agent-audience-grid p,
.agent-voice-flow p {
  color: var(--agent-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.agent-voice-band {
  background: #102024;
  color: #ffffff;
  padding: 100px max(28px, calc((100vw - 1124px) / 2));
}

.agent-section-head.light h2 {
  margin-top: 14px;
}

.agent-voice-flow {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 52px 1fr;
  margin-top: 48px;
}

.agent-voice-flow article {
  border: 1px solid #395056;
  border-radius: 8px;
  min-height: 300px;
  padding: 30px;
}

.agent-voice-flow h3 {
  margin-top: 26px;
}

.agent-voice-flow p {
  color: #b8c6c9;
}

.agent-voice-mark {
  color: #71d2ff;
  font-size: 12px;
  font-weight: 900;
}

.agent-voice-arrow {
  align-items: center;
  color: #71d2ff;
  display: flex;
  font-size: 36px;
  justify-content: center;
}

.agent-wave.compact {
  height: 48px;
  justify-content: flex-start;
  margin: 24px 0 0;
}

.agent-wave.compact i {
  background: #61d6a5;
  width: 3px;
}

.agent-language-path {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.agent-language-path span {
  border: 1px solid #496066;
  border-radius: 4px;
  font-size: 12px;
  padding: 9px 12px;
}

.agent-language-path b {
  align-items: center;
  background: var(--agent-blue);
  border-radius: 50%;
  display: flex;
  font-size: 10px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.agent-voice-band > blockquote {
  border-left-color: #61d6a5;
  color: #dbe5e7;
  margin-top: 46px;
  max-width: 880px;
}

.agent-managed-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
}

.agent-managed-flow article {
  border-top: 3px solid var(--agent-line);
  min-height: 230px;
  padding: 26px 28px 0 0;
  position: relative;
}

.agent-managed-flow article:not(:last-child)::after {
  color: var(--agent-blue);
  content: "→";
  font-size: 20px;
  position: absolute;
  right: 16px;
  top: 20px;
}

.agent-managed-flow article > span {
  color: var(--agent-blue);
  font-size: 12px;
  font-weight: 900;
}

.agent-scale-band {
  background: #eaf0ef;
  display: grid;
  gap: 80px;
  grid-template-columns: 1.05fr 0.95fr;
  padding: 104px max(28px, calc((100vw - 1124px) / 2));
}

.agent-scale-copy h2 {
  margin-top: 14px;
}

.agent-scale-copy > p {
  margin-top: 22px;
}

.agent-scale-copy ul {
  display: grid;
  gap: 13px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.agent-scale-copy li {
  color: #324348;
  font-size: 13px;
}

.agent-scale-copy li span {
  color: var(--agent-green);
  font-weight: 900;
  margin-right: 8px;
}

.agent-scale-visual {
  align-self: center;
  background: #081114;
  border-radius: 8px;
  color: #ffffff;
  min-height: 420px;
  padding: 36px;
}

.agent-scale-visual > strong {
  color: #65c8ff;
  display: block;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
}

.agent-scale-visual > p {
  color: #bdc9cb;
  font-size: 14px;
  margin: 14px 0 28px;
}

.agent-node-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(8, 1fr);
}

.agent-node-grid i {
  aspect-ratio: 1;
  background: #27383d;
  border: 1px solid #3b4e53;
  border-radius: 4px;
  display: block;
  position: relative;
}

.agent-node-grid i::after {
  background: #5c6c70;
  border-radius: 50%;
  content: "";
  height: 5px;
  position: absolute;
  right: 4px;
  top: 4px;
  width: 5px;
}

.agent-node-grid i.online {
  animation: agentDevicePulse 3.6s ease-in-out infinite;
  background: #123f34;
  border-color: #23785e;
}

.agent-node-grid i.online:nth-child(3n + 1) { animation-delay: -1.2s; }
.agent-node-grid i.online:nth-child(3n + 2) { animation-delay: -2.4s; }

@keyframes agentDevicePulse {
  0%, 100% { border-color: #23785e; box-shadow: none; transform: translateY(0); }
  50% { border-color: #43d29c; box-shadow: 0 0 16px rgba(67, 210, 156, 0.2); transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .agent-landing *,
  .agent-landing *::before,
  .agent-landing *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.agent-node-grid i.online::after {
  background: #3bdb9c;
}

.agent-scale-visual small {
  color: #819095;
  display: block;
  font-size: 10px;
  line-height: 1.6;
  margin-top: 28px;
}

.agent-audiences .agent-section-head {
  max-width: 900px;
}

.agent-audience-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
}

.agent-audience-grid article {
  border-top: 2px solid var(--agent-ink);
  padding: 8px 12px 24px 0;
}

.agent-audience-grid h3 {
  margin-top: 18px;
}

.agent-final-cta {
  align-items: center;
  background: #0d171a;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: 96px 28px;
  text-align: center;
}

.agent-final-cta .portal-logo {
  height: 48px;
  object-fit: contain;
  width: auto;
}

.agent-final-cta > span {
  color: #8fd7bd;
  font-size: 13px;
  font-weight: 900;
  margin-top: 16px;
}

.agent-final-cta h2 {
  margin-top: 22px;
  max-width: 900px;
}

.agent-final-cta > p {
  color: #b8c4c7;
  margin-top: 24px;
  max-width: 760px;
}

.agent-final-cta blockquote {
  border: 0;
  color: #65c8ff;
  font-size: 24px;
  margin-top: 30px;
  padding: 0;
}

.agent-final-cta .agent-primary {
  margin-top: 34px;
}

@media (max-width: 980px) {
  .agent-hero {
    padding-bottom: 76px;
  }

  .agent-hero-layout {
    grid-template-columns: 1fr;
  }

  .agent-hero-layout .agent-hero-copy {
    justify-self: center;
    max-width: 780px;
    text-align: center;
  }

  .agent-hero-layout .agent-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .agent-hero-layout .agent-actions,
  .agent-hero-layout .agent-platforms {
    justify-content: center;
  }

  .browser-agent-visual {
    justify-self: center;
    max-width: 620px;
  }

  .agent-hero-network {
    gap: 20px;
    grid-template-columns: 190px minmax(160px, 1fr) 220px;
  }

  .agent-network-lines {
    left: 130px;
    right: 150px;
  }

  .agent-product-body {
    grid-template-columns: 170px minmax(300px, 1fr);
  }

  .agent-assistant-pane {
    display: none;
  }

  .agent-capability-grid,
  .agent-audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .agent-managed-flow {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

  .agent-scale-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .browser-agent-site .site-header {
    gap: 8px 12px;
    grid-template-columns: auto 1fr;
    height: auto;
    padding: 10px 14px;
  }

  .browser-agent-site .brand {
    align-self: center;
  }

  .browser-agent-site .site-actions {
    gap: 8px;
    grid-column: 2;
    justify-content: flex-end;
    padding: 0;
  }

  .browser-agent-site .site-actions .button.secondary {
    display: none;
  }

  .browser-agent-site .site-actions .button {
    min-height: 34px;
    padding: 0 14px;
  }

  .browser-agent-site .language-select {
    min-width: 70px;
  }

  .browser-agent-site .site-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
    padding: 3px 2px 5px;
    scrollbar-width: none;
    width: 100%;
  }

  .browser-agent-site .site-nav::-webkit-scrollbar {
    display: none;
  }

  .browser-agent-site .site-nav button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .agent-hero {
    min-height: auto;
    padding: 54px 18px 46px;
  }

  .agent-hero-layout {
    gap: 28px;
  }

  .agent-hero-layout h1 {
    font-size: 29px;
    line-height: 1.18;
  }

  .agent-hero-layout h1 > span {
    white-space: nowrap;
  }

  .browser-agent-visual {
    height: 390px;
    max-width: 430px;
  }

  .ba-visual-grid {
    height: 330px;
    width: 330px;
  }

  .browser-agent-visual::before {
    height: 310px;
    width: 310px;
  }

  .browser-agent-visual::after {
    height: 250px;
    width: 250px;
  }

  .ba-flow-map {
    height: 100%;
    width: 100%;
  }

  .ba-window-main {
    height: 250px;
    left: 6px;
    top: 88px;
    width: calc(100% - 12px);
  }

  .ba-window-side {
    height: 98px;
    width: 180px;
  }

  .ba-window-social {
    left: 2px;
    top: 4px;
  }

  .ba-window-crm {
    bottom: 0;
    right: 2px;
  }

  .ba-mini-page {
    padding: 7px 8px 4px;
  }

  .ba-mini-avatar {
    height: 24px;
    width: 24px;
  }

  .ba-browser-body {
    grid-template-columns: 34px 1fr;
  }

  .ba-browser-body > aside {
    gap: 7px;
    padding-top: 9px;
  }

  .ba-browser-body > aside b,
  .ba-browser-body > aside span {
    height: 22px;
    width: 22px;
  }

  .ba-chat-workspace {
    padding: 8px;
  }

  .ba-chat-bubble {
    font-size: 9px;
    padding: 7px 8px;
  }

  .ba-translation-plugin {
    padding: 9px;
    right: 6px;
    top: 55px;
    transform-origin: right top;
    width: 164px;
  }

  .ba-parallel-status {
    left: 16px;
    top: 58px;
  }

  .ba-ai-orb {
    display: none;
  }

  .ba-task-stack {
    bottom: 2px;
    left: 10px;
    width: 220px;
  }

  .agent-product-showcase {
    padding: 0 18px 30px;
  }

  .agent-hero-network {
    gap: 8px;
    grid-template-columns: minmax(92px, 1fr) 92px minmax(100px, 1fr);
    height: 220px;
    margin-bottom: 18px;
  }

  .agent-network-platforms,
  .agent-network-devices {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .agent-network-platforms span:nth-child(n + 3),
  .agent-network-devices span:nth-child(n + 3) {
    display: none;
  }

  .agent-network-platforms span,
  .agent-network-devices span {
    min-height: 62px;
  }

  .agent-network-platforms span {
    font-size: 9px;
    gap: 6px;
    padding: 7px;
  }

  .agent-network-platforms span i {
    flex-basis: 22px;
    height: 22px;
  }

  .agent-network-devices span {
    padding: 9px;
  }

  .agent-network-devices b {
    font-size: 9px;
  }

  .agent-network-devices small {
    font-size: 8px;
  }

  .agent-network-core {
    height: 112px;
    width: 92px;
  }

  .agent-network-core > i {
    height: 32px;
    width: 32px;
  }

  .agent-network-core strong {
    font-size: 8px;
    max-width: 76px;
    text-align: center;
  }

  .agent-network-core span {
    display: none;
  }

  .agent-network-lines {
    left: 74px;
    right: 78px;
  }

  .agent-hero h1 {
    font-size: 29px;
    line-height: 1.18;
  }

  .agent-year {
    font-size: 21px;
  }

  .agent-mobile-network-teaser {
    display: none;
  }

  .agent-mobile-network-teaser > span {
    display: flex;
    gap: 4px;
  }

  .agent-mobile-network-teaser i,
  .agent-mobile-network-teaser strong {
    align-items: center;
    animation: agentMobileNode 3.6s ease-in-out infinite;
    background: #142a30;
    border: 1px solid #35545d;
    border-radius: 4px;
    color: #83d7ff;
    display: flex;
    font-size: 9px;
    font-style: normal;
    height: 30px;
    justify-content: center;
    width: 30px;
  }

  .agent-mobile-network-teaser strong {
    animation-name: agentMobileCore;
    background: var(--agent-blue);
    border-color: #75a0ff;
    color: #ffffff;
    font-size: 10px;
    height: 38px;
    width: 38px;
  }

  .agent-mobile-network-teaser > span:last-child i {
    color: #6cddb2;
  }

  .agent-mobile-network-teaser > b {
    animation: agentMobilePacket 1.8s linear infinite;
    color: #58cea1;
    font-size: 15px;
  }

  .agent-mobile-network-teaser > b:nth-of-type(2) {
    animation-delay: -0.9s;
  }

  @keyframes agentMobileNode {
    0%, 100% { border-color: #35545d; opacity: 0.55; }
    50% { border-color: #55c99d; box-shadow: 0 0 12px rgba(85, 201, 157, 0.22); opacity: 1; }
  }

  @keyframes agentMobileCore {
    0%, 100% { box-shadow: 0 0 0 rgba(47, 109, 246, 0); transform: scale(0.94); }
    50% { box-shadow: 0 0 18px rgba(47, 109, 246, 0.45); transform: scale(1); }
  }

  @keyframes agentMobilePacket {
    0% { opacity: 0.3; transform: translateX(-3px); }
    50% { opacity: 1; }
    100% { opacity: 0.3; transform: translateX(3px); }
  }

  .agent-hero-desc {
    font-size: 15px;
  }

  .agent-actions .button {
    width: 100%;
  }

  .agent-product-stage {
    margin-top: 40px;
    min-height: 360px;
  }

  .agent-product-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    padding: 10px 14px;
  }

  .agent-product-body {
    display: block;
    min-height: 310px;
  }

  .agent-profile-list,
  .agent-assistant-pane {
    display: none;
  }

  .agent-conversation {
    min-height: 310px;
    padding: 16px;
  }

  .agent-message {
    max-width: 92%;
  }

  .agent-manifesto,
  .agent-voice-band,
  .agent-scale-band {
    padding: 76px 20px;
  }

  .agent-section {
    padding: 76px 20px;
  }

  .agent-manifesto > div,
  .agent-voice-flow,
  .agent-scale-band {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .agent-voice-arrow {
    transform: rotate(90deg);
  }

  .agent-capability-grid,
  .agent-audience-grid,
  .agent-managed-flow {
    grid-template-columns: 1fr;
  }

  .agent-capability-grid article {
    min-height: 190px;
  }

  .agent-managed-flow article {
    min-height: 180px;
  }

  .agent-managed-flow article:not(:last-child)::after {
    content: "↓";
  }

  .agent-scale-copy ul {
    grid-template-columns: 1fr;
  }

  .agent-scale-visual {
    min-height: 360px;
    padding: 26px;
  }

  .agent-node-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .agent-final-cta {
    min-height: 560px;
    padding: 82px 20px;
  }
}

* { box-sizing: border-box; }
html, body, #app { min-height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.icon-sprite { display: none; }
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 auto;
}

.site {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f6f5 52%, #eef3f0 100%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(221, 228, 224, 0.84);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--sidebar);
  color: #fff;
  font-weight: 800;
}
.brand-name { font-weight: 750; line-height: 1.1; }
.brand-subtitle { color: var(--muted); font-size: 12px; }
.site-nav, .site-actions, .top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav button {
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  padding: 8px 9px;
  border-radius: var(--radius);
}
.site-nav button:hover { background: var(--surface-muted); color: var(--ink); }
.language-select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 6px 8px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 8px 12px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
}
.button:hover { background: var(--primary-strong); }
.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover { background: var(--surface-muted); }
.button.ghost {
  background: transparent;
  color: var(--muted-strong);
}
.button.danger {
  background: var(--danger);
  color: #fff;
}
.button.full { width: 100%; }
.button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted-strong);
  padding: 0;
}
.icon-button:hover {
  border-color: #b8c8c3;
  background: var(--surface-muted);
  color: var(--ink);
}
.icon-button[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
}
.icon-button[disabled]:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted-strong);
}

.assistant-relay-layout {
  align-items: stretch;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
}
.assistant-thread-panel,
.assistant-chat-panel {
  min-height: 560px;
}
.assistant-thread-list,
.assistant-message-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.assistant-thread-list button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
}
.assistant-thread-list button.active {
  border-color: rgba(17, 107, 95, 0.45);
  background: #eef8f5;
}
.assistant-thread-list strong,
.assistant-thread-list span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.assistant-thread-list span,
.assistant-message-meta {
  color: var(--muted);
  font-size: 12px;
}
.assistant-message-list {
  align-content: start;
  min-height: 390px;
  max-height: 56vh;
  overflow: auto;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-muted);
}
.assistant-message {
  max-width: min(680px, 92%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px 12px;
}
.assistant-message.user {
  justify-self: end;
  border-color: rgba(39, 93, 159, 0.32);
  background: #f0f6fd;
}
.assistant-message.assistant {
  justify-self: start;
}
.assistant-message p {
  margin: 4px 0 0;
  white-space: pre-wrap;
}
.assistant-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 16px;
}
.assistant-compose textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
}

.ticket-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.ticket-detail-meta div,
.ticket-summary,
.ticket-timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px 12px;
}
.ticket-detail-meta span,
.ticket-timeline-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.ticket-summary p,
.ticket-timeline-item p {
  margin: 6px 0 0;
  white-space: pre-wrap;
}
.ticket-timeline {
  display: grid;
  gap: 10px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(30px, 4vw, 48px);
  align-items: center;
  width: min(1180px, calc(100% - 64px));
  margin: 28px auto 0;
  padding: clamp(34px, 5vw, 52px) clamp(28px, 4vw, 44px);
}
.hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: 0;
}
.hero p {
  max-width: 560px;
  color: var(--muted-strong);
  font-size: 17px;
}
.roi-hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(155, 226, 211, 0.08), transparent 34%),
    linear-gradient(145deg, #071312 0%, #102423 54%, #132d2a 100%);
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.20);
}
.roi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.22));
  pointer-events: none;
}
.roi-hero > * {
  position: relative;
  z-index: 1;
}
.roi-hero .eyebrow { color: #9be2d3; }
.hero-copy {
  min-width: 0;
  max-width: 540px;
}
.roi-hero h1 {
  max-width: 620px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.06;
}
.roi-hero p {
  max-width: 545px;
  margin-top: 18px;
  font-size: 16px;
  color: #d4e4df;
}
.roi-hero .button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.roi-hero .button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}
.hero-actions, .inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  max-width: 500px;
}
.hero-proof-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #c7d8d3;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 650;
}
.hero-proof-list strong {
  color: #ffffff;
}
.hero-price-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 520px);
  margin-top: 18px;
}
.hero-price-summary div {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  padding: 10px 11px;
}
.hero-price-summary span,
.hero-price-summary strong {
  display: block;
}
.hero-price-summary span {
  color: #9fb3ad;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}
.hero-price-summary strong {
  margin-top: 2px;
  color: #ffffff;
  font-size: 15px;
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  max-width: 820px;
}
.metric-strip div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
}
.metric-strip strong {
  display: block;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
}
.metric-strip span {
  display: block;
  margin-top: 6px;
  color: #b7c8c4;
  font-size: 12px;
  font-weight: 650;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.platform-pill, .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-strong);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 650;
}
.roi-hero .platform-pill {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: #e7f2ef;
}
.badge.success { color: var(--success); background: #edfcf2; border-color: #abefc6; }
.badge.warning { color: var(--warning); background: #fffaeb; border-color: #fedf89; }
.badge.danger { color: var(--danger); background: #fef3f2; border-color: #fecdca; }
.badge.info { color: var(--accent); background: #eff6ff; border-color: #bfdbfe; }

.product-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.command-panel {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, #142326, #0b1516);
  color: #e7f2ef;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}
.growth-console {
  width: min(100%, 440px);
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    #0e1a1c;
  color: #ffffff;
  padding: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}
.console-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.console-top strong,
.console-top span {
  display: block;
}
.console-top span {
  color: #9fb3ad;
  font-size: 12px;
}
.console-top b {
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  padding: 6px 10px;
  font-size: 12px;
}
.runtime-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}
.runtime-tabs span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #9fb3ad;
  padding: 7px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
}
.runtime-tabs .active {
  background: rgba(155, 226, 211, 0.12);
  color: #9be2d3;
}
.task-board {
  display: grid;
  gap: 8px;
}
.task-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 10px;
}
.task-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}
.task-dot.success { background: #32d583; }
.task-dot.warning { background: #f59e0b; }
.task-dot.info { background: #60a5fa; }
.task-row strong,
.task-row small {
  display: block;
}
.task-row strong {
  font-size: 13px;
}
.task-row small {
  margin-top: 2px;
  color: #9fb3ad;
  font-size: 11px;
}
.task-row em {
  color: #d9f99d;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}
.console-grid-real {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.console-grid-real div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 10px;
}
.console-grid-real span,
.console-grid-real strong,
.console-grid-real small {
  display: block;
}
.console-grid-real span,
.console-grid-real small {
  color: #9fb3ad;
  font-size: 11px;
}
.console-grid-real strong {
  margin: 3px 0;
  font-size: 23px;
  line-height: 1;
}
.run-log {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 11px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
}
.run-log strong {
  color: #e7f2ef;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 12px;
}
.run-log span {
  color: #9fb3ad;
}
.command-panel .product-panel-header {
  border-color: rgba(255, 255, 255, 0.09);
  background: #142326;
}
.command-panel .muted {
  color: #9fb3ad;
}
.command-panel .flow-step {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.command-panel .step-index {
  background: rgba(123, 196, 181, 0.14);
  color: #9be2d3;
}
.command-panel .icon {
  color: #9be2d3;
}
.product-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 15px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-muted);
}
.browser-frame {
  padding: 14px;
}
.browser-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.dot { width: 9px; height: 9px; border-radius: 999px; background: #98a2b3; }
.terminal-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  color: #c9f7eb;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}
.terminal-lines div {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.terminal-lines span {
  color: #7bc4b5;
}
.cockpit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.cockpit-grid div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  padding: 12px;
}
.cockpit-grid span,
.cockpit-grid small {
  display: block;
  color: #9fb3ad;
  font-size: 12px;
}
.cockpit-grid strong {
  display: block;
  margin: 5px 0;
  color: #ffffff;
  font-size: 27px;
  line-height: 1;
}
.flow-list { display: grid; gap: 10px; }
.flow-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.step-index {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  background: #e7f3ef;
  color: var(--primary-strong);
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}
.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 8px; font-size: 26px; line-height: 1.15; }
h3 { margin-bottom: 7px; font-size: 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.grid-3, .grid-4, .metric-grid {
  display: grid;
  gap: 14px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-grid.compact { max-width: 760px; margin: 18px auto 0; }
.panel-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.device-metric-grid { margin-top: 14px; }
.subscription-summary {
  margin-bottom: 26px;
}
.billing-state-callout {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #f1cf78;
  border-radius: 10px;
  background: #fffaeb;
  color: #8a4b0f;
}
.billing-state-callout p {
  margin: 0;
  color: #744210;
  line-height: 1.55;
}
.subscription-detail-list {
  display: grid;
  gap: 12px;
}
.subscription-detail-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.subscription-settings {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.subscription-settings summary {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.subscription-settings p {
  margin: 12px 0;
  line-height: 1.55;
}
.subscription-cancel-button {
  color: var(--danger);
  border-color: #f2b8b5;
  background: transparent;
}
.subscription-cancel-button:hover:not(:disabled) {
  color: #9f1f17;
  border-color: #dc6f68;
  background: #fff5f4;
}

.plan-action-stack {
  display: grid;
  gap: 8px;
}

.wallet-balance-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(240, 253, 250, 0.86));
}

.wallet-balance-card > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.wallet-balance-card > strong {
  color: #065f46;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
}

.wallet-balance-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.wallet-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.wallet-package-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.wallet-package-card > span {
  color: var(--muted);
  font-weight: 700;
}

.wallet-package-card > strong {
  font-size: 30px;
  line-height: 1.1;
}

.wallet-credit {
  color: #047857;
}

.wallet-debit {
  color: #b91c1c;
}
.billing-empty-state {
  min-height: 180px;
  align-content: center;
  justify-items: start;
  text-align: left;
}
.billing-empty-state p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.pricing-section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.section-subtitle {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.centered-state {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  padding: 34px 24px;
}
.centered-state h2 { margin-bottom: 0; }
.centered-state .muted { max-width: 660px; margin: 0; }
.success-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: var(--success);
  background: #edfcf2;
  border: 1px solid #abefc6;
}
.success-mark .icon { width: 26px; height: 26px; stroke-width: 2.8; }
.inline-actions.center { justify-content: center; }
.roi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.card, .price-card, .panel, .metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card, .price-card, .metric { padding: 16px; }
.price-card.current {
  border-color: #69d39d;
  box-shadow: inset 0 0 0 1px #69d39d;
}
.price-card button[disabled] {
  cursor: default;
  color: var(--primary-strong);
  background: #e8f7ee;
  border-color: #abefc6;
}
.proof-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 26px 0 22px;
  background: #ffffff;
}
.proof-note {
  grid-column: 1 / -1;
  max-width: 920px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.proof-heading span {
  display: block;
  color: var(--sidebar);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.proof-stats div {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.proof-stats strong {
  display: block;
  color: var(--primary-strong);
  font-size: 34px;
  line-height: 1;
}
.proof-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
}
.advantage-section {
  padding-top: 26px;
  padding-bottom: 38px;
}
.advantage-grid {
  display: grid;
  grid-template-columns: 1.18fr repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.advantage-card {
  min-height: 196px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}
.advantage-card.primary {
  grid-row: span 2;
  min-height: 406px;
  background: #102120;
  color: #ffffff;
  border-color: #102120;
}
.advantage-card span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #e7f3ef;
  color: var(--primary-strong);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}
.advantage-card.primary span {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}
.advantage-card h3 {
  font-size: 17px;
  line-height: 1.25;
}
.advantage-card.primary h3 {
  max-width: 360px;
  font-size: 28px;
  line-height: 1.12;
}
.advantage-card p {
  margin: 0;
  color: var(--muted-strong);
}
.advantage-card.primary p {
  max-width: 390px;
  color: #bfd0cc;
  font-size: 15px;
}
.lifecycle-section {
  background: #eef5f2;
}
.lifecycle-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.lifecycle-card {
  border: 1px solid rgba(17, 107, 95, 0.16);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 16px;
  min-height: 230px;
}
.lifecycle-card.active {
  background: #102120;
  color: #ffffff;
  border-color: #102120;
}
.lifecycle-card span {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #e7f3ef;
  color: var(--primary-strong);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}
.lifecycle-card.active span {
  background: rgba(155, 226, 211, 0.14);
  color: #9be2d3;
}
.lifecycle-card p {
  color: var(--muted-strong);
}
.lifecycle-card.active p {
  color: #b7c8c4;
}
.story-section {
  background: #ffffff;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.story-step {
  position: relative;
  min-height: 265px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}
.story-step:nth-child(1) {
  background: #111c1f;
  color: #ffffff;
  border-color: #111c1f;
}
.story-step:nth-child(2) {
  border-color: rgba(17, 107, 95, 0.28);
  box-shadow: 0 16px 36px rgba(17, 107, 95, 0.08);
}
.story-step:nth-child(3) {
  background: #f8fbfa;
}
.story-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: #e7f3ef;
  color: var(--primary-strong);
  font-weight: 800;
}
.story-step:nth-child(1) .story-index {
  background: rgba(155, 226, 211, 0.14);
  color: #9be2d3;
}
.story-step span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--accent);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}
.story-step:nth-child(1) span {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}
.story-step h3 {
  font-size: 19px;
  line-height: 1.2;
}
.story-step p {
  margin-bottom: 0;
  color: var(--muted-strong);
}
.story-step:nth-child(1) p {
  color: #b7c8c4;
}
.capability-matrix {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.capability-matrix div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfa;
  padding: 12px;
}
.capability-matrix strong,
.capability-matrix span {
  display: block;
}
.capability-matrix strong {
  color: var(--primary-strong);
  font-size: 13px;
}
.capability-matrix span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.pain-section {
  background: #101b1d;
  color: #e7f2ef;
}
.pain-section .eyebrow {
  color: #9be2d3;
}
.pain-section .muted {
  color: #b7c8c4;
}
.pain-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  gap: 16px;
}
.pain-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pain-card {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #132326;
  padding: 16px;
}
.pain-card span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 28px;
  margin-bottom: 16px;
  border-radius: 6px;
  background: rgba(155, 226, 211, 0.14);
  color: #9be2d3;
  font-weight: 800;
}
.pain-card h3 {
  color: #ffffff;
}
.pain-card p {
  margin-bottom: 0;
  color: #b7c8c4;
}
.roi-proof-card {
  border: 1px solid rgba(155, 226, 211, 0.22);
  border-radius: var(--radius);
  background: #f7fffc;
  color: var(--ink);
  padding: 18px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
}
.roi-proof-card .eyebrow {
  color: var(--primary);
}
.roi-proof-card h3 {
  font-size: 22px;
}
.proof-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.proof-row span {
  color: var(--muted-strong);
}
.proof-row strong {
  color: var(--danger);
}
.proof-row.positive strong {
  color: var(--success);
  font-size: 24px;
}
.roi-section {
  background: #f7faf8;
}
.roi-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
}
.roi-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: #e7f3ef;
  color: var(--primary-strong);
  font-weight: 800;
}
.roi-card h3 {
  font-size: 17px;
}
.roi-card p {
  margin-bottom: 0;
  color: var(--muted-strong);
}
.comparison-section {
  background: #ffffff;
}
.comparison-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.comparison-row {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 1.25fr;
  gap: 14px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.comparison-row:last-child {
  border-bottom: 0;
}
.comparison-row strong {
  color: var(--ink);
}
.comparison-row span {
  color: var(--muted);
}
.comparison-row b {
  color: var(--primary-strong);
  font-weight: 750;
}
.skill-factory {
  background: #eef5f2;
}
.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-cloud span {
  border: 1px solid rgba(17, 107, 95, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: var(--sidebar);
  padding: 9px 12px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
}
.testimonial-section {
  background: #ffffff;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff, #f8fbfa);
  padding: 18px;
  min-height: 210px;
}
.testimonial-card p {
  color: var(--ink);
  font-size: 16px;
}
.testimonial-card strong {
  display: block;
  margin-top: 16px;
  color: var(--primary-strong);
}
.skills-market {
  background: #ffffff;
}
.skill-filters {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.skill-search {
  margin-bottom: 12px;
}
.skill-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}
.skill-search input:focus {
  outline: 2px solid rgba(17, 107, 95, 0.18);
  border-color: rgba(17, 107, 95, 0.42);
}
.skill-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.skill-filter-group span {
  min-width: 74px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.skill-filter-group button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-strong);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}
.skill-filter-group button.active {
  border-color: rgba(17, 107, 95, 0.35);
  background: #e8f6f1;
  color: var(--primary-strong);
}
.skill-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.skill-catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
}
.skill-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.skill-catalog-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}
.skill-catalog-card p {
  flex: 1;
  margin: 10px 0 14px;
  color: var(--muted-strong);
}
.skill-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.skill-meta strong {
  color: var(--primary);
}
.empty-skill-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--muted);
  padding: 22px;
  text-align: center;
}
.all-skills-card-grid .skill-catalog-card {
  min-height: 280px;
}
.integration-section {
  background: #f7faf8;
}
.integration-wall {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.integration-wall span {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted-strong);
  font-weight: 750;
  text-align: center;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}
.price-card.highlight { border-color: #7bc4b5; box-shadow: 0 0 0 3px rgba(17, 107, 95, 0.08); }
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price strong { font-size: 32px; line-height: 1; }
.feature-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: flex;
  gap: 8px;
  color: var(--muted-strong);
}
.feature-list svg { color: var(--success); margin-top: 2px; }

.auth-wrap {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 66px);
  padding: 26px;
}
.auth-panel {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow);
}
.oauth-actions {
  display: grid;
  gap: 10px;
  margin: 16px 0 14px;
}
.oauth-button {
  width: 100%;
  justify-content: center;
}
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}
.form {
  display: grid;
  gap: 12px;
}
.oauth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.oauth-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.github-logo {
  color: currentColor;
}
.portal-logo {
  display: block;
  width: 116px;
  max-width: 100%;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}
.field {
  display: grid;
  gap: 6px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 650;
}
.field input, .field select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
}
.field.compact {
  min-width: 180px;
}
.skill-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.skill-toolbar .field:first-child {
  flex: 1 1 280px;
}
.portal-skill-packages {
  border-bottom: 1px solid var(--line-soft);
}
.portal-skill-packages__heading h4,
.portal-skill-packages__heading p {
  margin: 0;
}
.portal-skill-packages__heading p {
  margin-top: 4px;
}
.portal-skill-package-list {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.portal-skill-package-list__head,
.portal-skill-package-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(320px, 2fr) minmax(170px, 0.75fr) minmax(150px, auto);
  gap: 16px;
  align-items: start;
}
.portal-skill-package-list__head {
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: #f5f8f7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.portal-skill-package-row {
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.portal-skill-package-row:last-child {
  border-bottom: 0;
}
.portal-skill-package-row__identity,
.portal-skill-package-row__progress {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.portal-skill-package-row__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.portal-skill-package-row__identity > span,
.portal-skill-package-row__progress span {
  color: var(--muted);
  font-size: 12px;
}
.portal-skill-package-row__description {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-skill-package-row__skills {
  min-width: 0;
}
.portal-skill-package-preview {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.portal-skill-package-details {
  margin-top: 5px;
}
.portal-skill-package-details summary {
  width: fit-content;
  cursor: pointer;
  color: var(--primary);
  font-size: 12px;
  font-weight: 650;
}
.portal-skill-package-details__close {
  display: none;
}
.portal-skill-package-details[open] .portal-skill-package-details__open {
  display: none;
}
.portal-skill-package-details[open] .portal-skill-package-details__close {
  display: inline;
}
.portal-skill-package-details ul {
  display: grid;
  gap: 5px;
  margin: 9px 0 0;
  padding: 10px 10px 10px 27px;
  border-radius: 8px;
  background: #f5f8f7;
  color: var(--muted-strong);
  font-size: 12px;
}
.portal-skill-package-row__progress strong {
  font-size: 13px;
}
.portal-skill-package-row__action {
  display: flex;
  justify-content: flex-end;
}
.portal-skill-package-row__action .button {
  min-width: 140px;
  padding-right: 12px;
  padding-left: 12px;
  white-space: nowrap;
}
@media (max-width: 1080px) {
  .portal-skill-package-list__head {
    display: none;
  }
  .portal-skill-package-row {
    grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.5fr) minmax(160px, 0.7fr);
  }
  .portal-skill-package-row__action {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  .portal-skill-package-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .portal-skill-package-row__action {
    grid-column: auto;
  }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.alert {
  margin: 0 0 14px;
  border: 1px solid #fedf89;
  border-radius: var(--radius);
  background: #fffaeb;
  color: #93370d;
  padding: 10px 12px;
}
.alert.error {
  border-color: #fecdca;
  background: #fef3f2;
  color: #912018;
}

.portal-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 18px 14px;
  background: var(--sidebar);
  color: #e7ece9;
}
.sidebar .brand { color: #fff; padding: 4px 8px 16px; }
.sidebar .brand-mark { background: #fff; color: var(--sidebar); }
.nav {
  display: grid;
  gap: 4px;
  padding: 16px 0;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #cbd5d1;
  padding: 9px 10px;
  text-align: left;
}
.nav button:hover, .nav button.active { background: #24322f; color: #fff; }
.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  color: #cbd5d1;
  font-size: 12px;
}
.sidebar-support-link {
  width: fit-content;
  border: 0;
  background: transparent;
  color: #9be2d3;
  padding: 0;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.sidebar-support-link:hover {
  color: #fff;
}
.main {
  min-width: 0;
  padding: 20px 24px 34px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.page-title h1 { margin: 2px 0 0; font-size: 23px; line-height: 1.2; }
.panel { overflow: hidden; margin-bottom: 14px; }
.panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-muted);
}
.panel-body { padding: 16px; }
.affiliate-referral-panel {
  display: grid;
  gap: 14px;
}
.affiliate-kyc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
}
.affiliate-kyc-form .full-span {
  grid-column: 1 / -1;
}
.affiliate-kyc-form > .button {
  justify-self: start;
}
.affiliate-kyc-summary {
  display: grid;
  gap: 18px;
  padding: 22px;
}
.affiliate-kyc-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.affiliate-kyc-summary-item {
  min-width: 0;
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface-muted);
}
.affiliate-kyc-summary-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.affiliate-kyc-summary-item strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.affiliate-review-note {
  padding: 12px 14px;
  border: 1px solid #fedf89;
  border-radius: var(--radius);
  background: #fffaeb;
  color: #93370d;
}
.affiliate-privacy-note {
  margin: 0;
}
.affiliate-payout-form {
  display: grid;
  gap: 20px;
  padding: 22px;
}
.affiliate-payout-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.affiliate-payout-form .field {
  gap: 8px;
}
.affiliate-payout-form .field input,
.affiliate-payout-form .field select {
  min-height: 46px;
  padding: 10px 12px;
}
.affiliate-payout-form .field .muted {
  min-height: 18px;
  font-weight: 500;
  line-height: 1.5;
}
.affiliate-payout-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 2px;
}
.support-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 20px;
}
.support-channel-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 238px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(155, 226, 211, 0.08), transparent 55%),
    var(--surface-muted);
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.support-channel-card:hover {
  transform: translateY(-2px);
  border-color: #75cdbd;
  box-shadow: 0 10px 24px rgba(13, 107, 92, 0.1);
}
.support-channel-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.support-channel-mark {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #d9f7ef;
  color: #076b5c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.support-channel-mark .support-channel-icon {
  width: 24px;
  height: 24px;
}
.support-channel-card h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
}
.support-channel-card p {
  margin: 0 0 16px;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.6;
}
.support-channel-integration {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.support-channel-contact {
  margin-top: 8px;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
}
.support-channel-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 0;
}
.support-channel-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}
.support-channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 36px;
  min-height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #94a3b8;
  padding: 8px;
  text-decoration: none;
  transition: transform .16s ease, color .16s ease, border-color .16s ease, background .16s ease;
}
.support-channel-link:hover {
  transform: translateY(-2px);
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.13);
}
.support-channel-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.support-channel-link-whatsapp { color: #25d366; }
.support-channel-link-telegram { color: #2aabee; }
.support-channel-link-wechat { color: #07c160; }
.support-channel-link-qq { color: #12b7f5; }
.support-channel-link-livechat { color: #a78bfa; }
.support-channel-links-panel {
  display: grid;
  justify-content: stretch;
  margin-bottom: 18px;
}
.support-channel-links-panel .support-channel-link {
  justify-content: flex-start;
  width: 100%;
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--ink);
  padding: 11px 12px;
}
.support-channel-links-panel .support-channel-link > span {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
.support-channel-links-panel .support-channel-link strong,
.support-channel-links-panel .support-channel-link small {
  overflow-wrap: anywhere;
}
.support-channel-links-panel .support-channel-link small {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.metric b {
  display: block;
  margin-top: 4px;
  font-size: 25px;
}
.table-wrap { overflow-x: auto; }
.portal-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
}
.portal-pagination__summary {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.portal-pagination__summary strong {
  color: var(--ink);
  font-size: 13px;
}
.portal-pagination__controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.portal-pagination__page {
  min-width: 64px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}
.pager-button {
  width: 32px;
  height: 32px;
}
.pager-button .icon {
  width: 16px;
  height: 16px;
}
.portal-pagination__size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.portal-pagination__size select {
  width: auto;
  min-width: 108px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 6px 28px 6px 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  background: var(--surface-muted);
}
td.wrap { white-space: normal; min-width: 220px; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 14px;
}
.settings-list {
  display: grid;
  gap: 12px;
}
.compact-form {
  max-width: 420px;
}
.mono {
  font-family: Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}
.two-factor-setup {
  margin-top: 14px;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.toggle {
  width: 44px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #98a2b3;
  padding: 3px;
}
.toggle span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  transition: transform .16s ease;
}
.toggle.on { background: var(--primary); }
.toggle.on span { transform: translateX(20px); }
.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  padding: 24px clamp(18px, 4vw, 52px);
  text-align: center;
}
.legal-footer a { color: var(--muted-strong); }
.footer-support-link {
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.footer-support-link:hover {
  color: var(--primary);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(9, 15, 13, 0.42);
  padding: 20px;
}
.modal-backdrop[hidden] {
  display: none;
}
.modal {
  width: min(420px, 100%);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow);
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 1020px) {
  .hero, .split { grid-template-columns: 1fr; }
  .grid-4, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-band { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantage-card.primary { grid-row: auto; min-height: 240px; }
  .lifecycle-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: 1fr; }
  .capability-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integration-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pain-layout { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .comparison-row { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 780px) {
  .portal-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main { padding: 16px; }
  .topbar, .site-header, .section-heading { align-items: stretch; flex-direction: column; }
  .site-actions, .top-actions { flex-wrap: wrap; }
  .site-actions .button.secondary { display: none; }
  .language-select { max-width: 110px; }
  .hero { padding-top: 24px; padding-bottom: 28px; gap: 22px; }
  .hero, .section, .proof-band { width: calc(100% - 32px); }
  .roi-hero {
    min-height: auto;
    margin-top: 16px;
    padding: 24px 18px;
    background:
      linear-gradient(135deg, rgba(155, 226, 211, 0.08), transparent 42%),
      linear-gradient(145deg, #071312 0%, #102423 100%);
  }
  .hero h1 { font-size: 34px; line-height: 1.1; }
  .roi-hero p { margin-top: 14px; font-size: 15px; }
  .hero-actions .button.secondary { display: none; }
  .hero-price-summary { grid-template-columns: 1fr; }
  .growth-console { justify-self: stretch; width: 100%; padding: 14px; }
  .runtime-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console-grid-real { grid-template-columns: 1fr; }
  .form-row, .metric-grid, .grid-4, .metric-strip, .roi-grid, .pain-map, .cockpit-grid, .proof-stats, .lifecycle-tabs { grid-template-columns: 1fr; }
  .affiliate-kyc-form,
  .affiliate-payout-grid {
    grid-template-columns: 1fr;
  }
  .affiliate-kyc-summary-grid {
    grid-template-columns: 1fr;
  }
  .portal-pagination {
    justify-content: center;
  }
  .portal-pagination__controls {
    justify-content: center;
  }
  .portal-pagination__size {
    justify-content: center;
  }
  .portal-pagination__size select {
    min-width: 132px;
  }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-card, .advantage-card.primary { min-height: auto; }
  .advantage-card.primary h3 { font-size: 22px; }
  .capability-matrix { grid-template-columns: 1fr; }
  .integration-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-card-grid { grid-template-columns: 1fr; }
  .roi-card { min-height: auto; }
  .pain-card, .testimonial-card, .story-step { min-height: auto; }
  .terminal-lines div { white-space: normal; }
}

/* Figma homepage refresh: QQK SaaS AI Homepage, 2026-06-20 */
.site {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7f6 44%, #eef5f2 100%);
}
.site-header {
  min-height: 68px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom-color: rgba(221, 228, 224, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #17211f;
  font-size: 13px;
  letter-spacing: 0;
}
.brand-name {
  font-size: 15px;
  font-weight: 800;
}
.brand-subtitle {
  font-size: 11px;
}
.site-nav {
  gap: 18px;
}
.site-nav button {
  color: #344054;
  font-size: 13px;
}
.site-actions .button,
.site-actions .language-select {
  min-height: 36px;
  border-radius: 8px;
}
.site-actions .button {
  padding-inline: 14px;
}
.hero.roi-hero {
  width: min(1180px, calc(100% - 64px));
  margin-top: 28px;
  padding: clamp(42px, 5vw, 56px) clamp(34px, 4vw, 44px);
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(0, 200, 150, 0.08), transparent 38%),
    linear-gradient(145deg, #071312 0%, #102423 54%, #132d2a 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}
.roi-hero::before {
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}
.roi-hero .eyebrow,
.section .eyebrow {
  color: #006b5c;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.045em;
}
.roi-hero .eyebrow {
  color: #8ff1df;
}
.roi-hero h1 {
  max-width: 620px;
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1.06;
  font-weight: 850;
}
.roi-hero p {
  max-width: 570px;
  color: #d8e8e4;
  font-size: 16px;
  line-height: 1.55;
}
.roi-hero .button {
  min-height: 39px;
  border-radius: 8px;
  background: #137a6a;
  font-weight: 800;
}
.roi-hero .button:hover {
  background: #0f675a;
}
.roi-hero .button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}
.hero-price-summary div,
.hero-proof-list span {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.075);
}
.growth-console {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}
.console-top b {
  border-radius: 999px;
  background: #fff1b8;
  color: #8a5a00;
}
.section,
.proof-band {
  width: min(1180px, calc(100% - 64px));
}
.section {
  padding: 40px 0;
}
.section-heading {
  align-items: flex-end;
  margin-bottom: 28px;
}
.section h2,
.proof-heading span {
  color: #07111f;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.12;
  font-weight: 850;
}
.section-heading .muted {
  max-width: 760px;
  color: #475467;
}
.proof-band {
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1fr);
  padding: 24px 0 30px;
}
.proof-stats strong {
  color: #006b5c;
}
.proof-note {
  max-width: 960px;
}
.advantage-grid {
  grid-template-columns: 1.16fr repeat(2, minmax(0, 1fr));
}
.advantage-card,
.story-step,
.skill-catalog-card,
.price-card,
.testimonial-card,
.capability-matrix div {
  border-radius: 8px;
  border-color: #d9e2de;
  background: #ffffff;
}
.advantage-card {
  min-height: 214px;
  padding: 20px;
}
.advantage-card.primary {
  min-height: 428px;
  background: #0d211f;
  border-color: #0d211f;
}
.advantage-card span,
.story-index,
.skill-filter-group button.active {
  background: #ddf5ef;
  color: #006b5c;
}
.advantage-card.primary span {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}
.story-section,
.skills-market,
.testimonial-section {
  background: transparent;
}
.story-grid {
  gap: 14px;
}
.story-step {
  min-height: 250px;
}
.story-step:nth-child(1) {
  background: #111c1f;
}
.capability-matrix {
  gap: 10px;
}
.skills-market {
  padding-top: 54px;
}
.skill-filter-group button {
  border-radius: 999px;
  background: #ffffff;
}
.skill-catalog-card {
  min-height: 278px;
  padding: 17px;
}
.skill-catalog-card h3 {
  font-size: 18px;
  font-weight: 850;
}
.skill-card-grid {
  gap: 14px;
}
#pricing {
  padding-top: 48px;
}
.price-card {
  min-height: 305px;
  padding: 18px;
}
.price-card.highlight {
  border-color: rgba(19, 122, 106, 0.45);
  box-shadow: 0 0 0 3px rgba(19, 122, 106, 0.08);
}
.price strong {
  font-size: 32px;
}
.feature-list li {
  gap: 10px;
}
.feature-list .icon {
  color: #087443;
}
.testimonial-section {
  padding-top: 54px;
}
.testimonial-card {
  min-height: 208px;
  background: linear-gradient(180deg, #ffffff, #f8fbfa);
}
.testimonial-card::before {
  content: "★★★★★";
  display: block;
  margin-bottom: 14px;
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 13px;
}
.final-cta-section {
  padding-top: 44px;
  padding-bottom: 58px;
}
.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 150, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 200, 150, 0.18), transparent 62%),
    linear-gradient(145deg, #0d1f1a, #070b12);
  color: #f0f4ff;
  padding: clamp(26px, 4vw, 42px);
}
.final-cta-card h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 40px);
}
.final-cta-card p {
  max-width: 620px;
  margin: 0;
  color: #b7c8c4;
}
.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}
.final-cta-actions .button {
  background: linear-gradient(135deg, #00c896, #00a87a);
  color: #071312;
  font-weight: 850;
}
.final-cta-actions a {
  color: #b7c8c4;
  font-size: 13px;
  text-decoration: none;
}
.legal-footer {
  justify-content: center;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 24px;
}

@media (max-width: 1020px) {
  .final-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .final-cta-actions {
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 12px 16px;
  }
  .hero.roi-hero,
  .section,
  .proof-band {
    width: calc(100% - 32px);
  }
  .hero.roi-hero {
    margin-top: 16px;
    padding: 28px 18px;
  }
  .roi-hero h1 {
    font-size: 36px;
  }
  .section-heading,
  .proof-band {
    align-items: stretch;
  }
  .proof-band {
    grid-template-columns: 1fr;
  }
  .proof-stats,
  .advantage-grid,
  .story-grid,
  .capability-matrix,
  .skill-card-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .advantage-card.primary {
    min-height: auto;
  }
}

/* Visible homepage redesign pass: stronger SaaS landing page layout */
.marketing-v3 {
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 200, 150, 0.18), transparent 24%),
    radial-gradient(circle at 86% 7%, rgba(99, 102, 241, 0.16), transparent 24%),
    linear-gradient(180deg, #071312 0 760px, #eef5f2 760px 100%);
  padding-bottom: 1px;
}
.marketing-v3 .hero.roi-hero {
  width: min(1280px, calc(100% - 48px));
  min-height: 680px;
  margin-top: 0;
  padding: clamp(54px, 6vw, 86px) clamp(36px, 6vw, 76px);
  border-radius: 0 0 18px 18px;
  border: 1px solid rgba(143, 241, 223, 0.16);
  border-top: 0;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    radial-gradient(circle at 68% 20%, rgba(0, 200, 150, 0.24), transparent 28%),
    radial-gradient(circle at 12% 15%, rgba(99, 102, 241, 0.22), transparent 26%),
    linear-gradient(145deg, #071312 0%, #0d2422 52%, #081310 100%);
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.35);
}
.marketing-v3 .hero-copy {
  max-width: 640px;
}
.marketing-v3 .roi-hero h1 {
  max-width: 660px;
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: 1.12;
}
.marketing-v3 .roi-hero p {
  max-width: 620px;
  font-size: 18px;
}
.marketing-v3 .hero-actions {
  margin-top: 28px;
}
.marketing-v3 .hero-actions .button {
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 10px;
}
.hero-channel-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 620px;
  margin-top: 28px;
}
.hero-channel-rail span {
  border: 1px solid rgba(143, 241, 223, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d8e8e4;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 750;
}
.marketing-v3 .growth-console {
  transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}
.marketing-v3 .proof-band {
  margin-top: -1px;
  padding: 36px 40px;
  border-radius: 0 0 18px 18px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}
.marketing-v3 .section {
  padding: 64px 0;
}
.marketing-v3 .pain-section {
  width: 100%;
  padding: 74px max(32px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 85% 5%, rgba(0, 200, 150, 0.2), transparent 26%),
    linear-gradient(145deg, #0b1417, #111f22);
}
.marketing-v3 .pain-section .section-heading,
.marketing-v3 .pain-section .pain-layout {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.marketing-v3 .pain-card {
  min-height: 215px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04)),
    #14282b;
}
.marketing-v3 .roi-proof-card {
  border-radius: 12px;
}
.marketing-v3 .advantage-section {
  padding-top: 72px;
}
.marketing-v3 .roi-section {
  width: 100%;
  padding: 74px max(32px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(180deg, #f8fbfa, #eef5f2);
}
.marketing-v3 .roi-section .section-heading,
.marketing-v3 .roi-section .roi-grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.marketing-v3 .roi-card {
  min-height: 280px;
  border: 1px solid rgba(17, 107, 95, 0.18);
  background:
    linear-gradient(180deg, #ffffff, #f7fffc);
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.07);
}
.marketing-v3 .roi-card:nth-child(1) {
  background: #0d211f;
  color: #ffffff;
}
.marketing-v3 .roi-card:nth-child(1) p {
  color: #b7c8c4;
}
.marketing-v3 .comparison-section {
  border-top: 1px solid #dbe5e1;
  border-bottom: 1px solid #dbe5e1;
}
.marketing-v3 .skill-factory {
  width: 100%;
  padding: 72px max(32px, calc((100vw - 1180px) / 2));
  background: #0d211f;
  color: #ffffff;
}
.marketing-v3 .skill-factory .section-heading,
.marketing-v3 .skill-factory .skill-cloud {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.marketing-v3 .skill-factory h2,
.marketing-v3 .skill-factory .eyebrow {
  color: #ffffff;
}
.marketing-v3 .skill-factory .muted {
  color: #b7c8c4;
}
.marketing-v3 .skill-cloud span {
  border-color: rgba(143, 241, 223, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #e7f8f4;
}
.marketing-v3 .skills-market,
.marketing-v3 #pricing,
.marketing-v3 .testimonial-section {
  padding-top: 72px;
}

@media (max-width: 1020px) {
  .marketing-v3 .hero.roi-hero {
    min-height: auto;
  }
  .marketing-v3 .growth-console {
    transform: none;
  }
  .marketing-v3 .pain-section,
  .marketing-v3 .roi-section,
  .marketing-v3 .skill-factory {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 780px) {
  .marketing-v3 {
    background: linear-gradient(180deg, #071312 0 680px, #eef5f2 680px 100%);
  }
  .marketing-v3 .hero.roi-hero {
    width: 100%;
    border-radius: 0 0 14px 14px;
    padding: 34px 18px;
  }
  .marketing-v3 .roi-hero h1 {
    font-size: 42px;
  }
  .marketing-v3 .proof-band {
    width: calc(100% - 24px);
    padding: 24px 16px;
  }
  .hero-channel-rail span {
    font-size: 11px;
  }
}

/* QQK Figma homepage port: dark SaaS landing page */
.site {
  min-height: 100vh;
  background: #070b12;
  color: #f0f4ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 62px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1212px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(7, 11, 18, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f0f4ff;
  text-decoration: none;
}

.qqk-logo {
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 20px rgba(0, 200, 150, 0.22));
}

.brand-name {
  color: #f0f4ff;
  font-size: 15px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-subtitle {
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.site-nav button,
.site-actions button {
  font: inherit;
}

.site-nav button {
  border: 0;
  background: transparent;
  color: #71819a;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  transition: color 0.18s ease;
}

.site-nav button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f4ff;
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-select {
  min-width: 148px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 18, 0.85);
  color: #cbd5e1;
  font-size: 13px;
  outline: none;
}

.site-actions .button {
  min-height: 36px;
  border-radius: 12px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: #00c896;
  color: #07110f;
  font-size: 14px;
  font-weight: 750;
  box-shadow: none;
}

.site-actions .button.secondary {
  border-color: transparent;
  background: transparent;
  color: #71819a;
}

.site-actions .button.secondary:hover {
  color: #f0f4ff;
}

.figma-home {
  min-height: 100vh;
  overflow: hidden;
  background: #070b12;
  color: #f0f4ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.figma-hero {
  position: relative;
  min-height: 772px;
  padding: 64px 24px 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.figma-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.figma-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 760px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 200, 150, 0.16), rgba(99, 102, 241, 0.09) 42%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.figma-hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.figma-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 31px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 20, 32, 0.8);
  color: #7990bd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.figma-badge span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #00c896;
}

.figma-hero h1 {
  margin: 36px auto 22px;
  color: #f0f4ff;
  font-size: clamp(52px, 7vw, 78px);
  line-height: 0.93;
  font-weight: 900;
  letter-spacing: 0;
}

.figma-hero h1 strong {
  display: inline-block;
  font-weight: 900;
  background: linear-gradient(90deg, #00d4a4 0%, #3b82f6 58%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.figma-hero p {
  max-width: 670px;
  margin: 0 auto;
  color: #64748b;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.48;
  font-weight: 480;
}

.figma-hero-actions,
.figma-inline-actions,
.figma-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.figma-hero-actions {
  margin-top: 44px;
}

.figma-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 13px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #f0f4ff;
  font-size: 16px;
  font-weight: 780;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.figma-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 200, 150, 0.5);
}

.figma-btn.primary {
  border-color: #00c896;
  background: #00c896;
  color: #07110f;
}

.figma-btn.secondary {
  background: rgba(7, 11, 18, 0.48);
}

.figma-btn.ghost {
  min-height: 42px;
  color: #94a3b8;
}

.figma-btn.full {
  width: 100%;
}

.figma-stat-grid {
  width: min(768px, 100%);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.figma-stat-card {
  min-height: 130px;
  padding: 22px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1420;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.figma-stat-card strong {
  color: #00d4a4;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.figma-stat-card span {
  margin-top: 8px;
  color: #f0f4ff;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
}

.figma-stat-card small {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.2;
}

.figma-section {
  padding: 88px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: #070b12;
}

.figma-container {
  width: min(1212px, 100%);
  margin: 0 auto;
}

.figma-section-head {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.figma-section-head:empty {
  display: none;
}

.figma-eyebrow {
  margin-bottom: 14px;
  color: #00c896;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.figma-section-head h2,
.figma-cta-card h2 {
  margin: 0;
  color: #f0f4ff;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.figma-section-head p,
.figma-cta-card p {
  margin: 18px auto 0;
  color: #64748b;
  font-size: 18px;
  line-height: 1.58;
}

.figma-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.figma-feature-card,
.figma-work-card,
.figma-skill-card,
.figma-price-card,
.figma-testimonial-card,
.figma-cta-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1420;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.figma-feature-card {
  min-height: 254px;
  padding: 28px;
}

.figma-feature-card.large {
  grid-column: span 2;
  background:
    radial-gradient(circle at 82% 0%, rgba(0, 200, 150, 0.2), transparent 34%),
    linear-gradient(135deg, #0d1420, #101b2b);
}

.figma-feature-top,
.figma-skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.figma-feature-top span,
.figma-skill-top span,
.figma-popular {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 200, 150, 0.14);
  color: #00d4a4;
  font-size: 12px;
  font-weight: 850;
}

.figma-card-icon {
  width: 32px;
  height: 32px;
  color: #64748b;
}

.figma-feature-card h3,
.figma-work-card h3,
.figma-skill-card h3,
.figma-price-card h3 {
  margin: 26px 0 12px;
  color: #f0f4ff;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 850;
}

.figma-feature-card p,
.figma-work-card p,
.figma-skill-card p,
.figma-price-card p,
.figma-testimonial-card p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.62;
}

.figma-workflow {
  background: linear-gradient(180deg, #070b12, #09111c);
}

.figma-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.figma-work-card {
  min-height: 292px;
  padding: 26px;
}

.figma-work-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.figma-work-card strong {
  color: #1e293b;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}

.figma-work-card span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
}

.figma-capability-wall {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.figma-capability-wall span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #94a3b8;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 750;
}

.figma-split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.figma-split-head .figma-section-head {
  margin: 0;
  text-align: left;
}

.figma-split-head .figma-section-head p {
  margin-left: 0;
}

.figma-skill-grid,
.figma-price-grid,
.figma-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.figma-skill-card {
  min-height: 226px;
  padding: 24px;
}

.figma-skill-top b {
  color: #93c5fd;
  font-size: 12px;
}

.figma-skill-card h3 {
  min-height: 52px;
}

.figma-skill-card small {
  display: inline-flex;
  margin-top: 18px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.figma-pricing {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 200, 150, 0.12), transparent 38%),
    #070b12;
}

.figma-price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.figma-price-card {
  position: relative;
  min-height: 438px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.figma-price-card.featured {
  border-color: rgba(0, 200, 150, 0.48);
  background:
    radial-gradient(circle at 85% 0%, rgba(0, 200, 150, 0.18), transparent 36%),
    #101b2b;
  transform: translateY(-8px);
}

.figma-popular {
  position: absolute;
  top: 18px;
  right: 18px;
}

.figma-price-card h3 {
  margin-top: 12px;
}

.figma-price {
  margin: 24px 0;
  color: #f0f4ff;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.figma-price span {
  color: #64748b;
  font-size: 14px;
  font-weight: 650;
}

.figma-price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.figma-price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.35;
}

.figma-price-card li span {
  color: #00d4a4;
  font-weight: 900;
}

.figma-price-card .figma-btn {
  margin-top: auto;
}

.figma-testimonial-card {
  padding: 26px;
  min-height: 245px;
}

.figma-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.figma-testimonial-card strong {
  display: block;
  margin-top: 24px;
  color: #f0f4ff;
  font-size: 15px;
}

.figma-testimonial-card span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
}

.figma-cta-section {
  padding-bottom: 70px;
}

.figma-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 200, 150, 0.26), transparent 34%),
    linear-gradient(135deg, #0d1420, #111827);
}

.figma-cta-card p {
  max-width: 620px;
  margin-left: 0;
}

.figma-cta-actions {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.figma-cta-actions a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
}

.legal-footer {
  justify-content: center;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #070b12;
  color: #64748b;
}

.legal-footer a {
  color: #94a3b8;
}

html[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  text-align: right;
}

html[dir="rtl"] .nav button,
html[dir="rtl"] .table-wrap th,
html[dir="rtl"] .table-wrap td,
html[dir="rtl"] .sidebar-footer,
html[dir="rtl"] .form-field {
  text-align: right;
}

html[dir="rtl"] code,
html[dir="rtl"] pre,
html[dir="rtl"] [type="email"],
html[dir="rtl"] [type="url"],
html[dir="rtl"] [type="number"] {
  direction: ltr;
  text-align: left;
}

.legal-footer .footer-support-link {
  color: #94a3b8;
}

.legal-footer a:hover {
  color: #f0f4ff;
}

.legal-footer .footer-support-link:hover {
  color: #f0f4ff;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 190px 1fr;
  }
  .site-nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }
  .site-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-bottom: 10px;
  }
  .site-header {
    height: auto;
    padding-top: 12px;
    padding-bottom: 0;
  }
  .figma-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .figma-stat-grid,
  .figma-feature-grid,
  .figma-workflow-grid,
  .figma-skill-grid,
  .figma-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .figma-feature-card.large {
    grid-column: span 2;
  }
  .figma-split-head,
  .figma-cta-card {
    grid-template-columns: 1fr;
    display: block;
  }
  .figma-inline-actions {
    justify-content: flex-start;
    margin-top: 22px;
  }
  .figma-cta-actions {
    align-items: flex-start;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agent-landing *,
  .agent-landing *::before,
  .agent-landing *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .ba-flow-packet {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 16px;
  }
  .site-nav {
    order: 3;
    width: 100%;
  }
  .site-actions {
    grid-column: auto;
    justify-content: flex-start;
    padding-bottom: 0;
  }
  .figma-hero {
    min-height: auto;
    padding: 78px 18px 46px;
  }
  .figma-hero h1 {
    font-size: 44px;
  }
  .figma-hero p {
    font-size: 17px;
  }
  .figma-stat-grid,
  .figma-feature-grid,
  .figma-workflow-grid,
  .figma-skill-grid,
  .figma-price-grid,
  .figma-testimonial-grid {
    grid-template-columns: 1fr;
  }
  .figma-feature-card.large {
    grid-column: auto;
  }
  .figma-section {
    padding: 64px 18px;
  }
  .figma-price-card.featured {
    transform: none;
  }
}

/* Figma screenshot alignment pass */
.site-header {
  position: sticky;
  height: 60px;
  padding-left: max(24px, calc((100vw - 1228px) / 2));
  padding-right: max(24px, calc((100vw - 1228px) / 2));
}

.brand {
  gap: 9px;
}

.qqk-logo {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-size: 15px;
}

.brand-subtitle {
  font-size: 11px;
}

.site-nav {
  gap: 29px;
}

.site-actions .button {
  min-height: 36px;
  border-radius: 12px;
}

.figma-container {
  width: min(1282px, calc(100vw - 240px));
}

.figma-hero {
  min-height: calc(834px - 60px);
  padding-top: 44px;
  padding-bottom: 58px;
  align-items: center;
}

.figma-hero-inner {
  width: min(870px, 100%);
  transform: translateY(-1px);
}

.figma-badge {
  height: 30px;
  padding: 0 14px;
}

.figma-hero h1 {
  margin-top: 36px;
  margin-bottom: 20px;
  font-size: clamp(60px, 5.05vw, 76px);
  line-height: 1.15;
}

.figma-hero p {
  max-width: 668px;
  color: #6885b0;
  font-size: 21px;
  line-height: 1.55;
}

.figma-hero-actions {
  margin-top: 42px;
}

.figma-btn {
  min-height: 52px;
  border-radius: 14px;
}

.figma-stat-grid {
  width: 768px;
  margin-top: 64px;
}

.figma-stat-card {
  min-height: 131px;
  border-radius: 14px;
}

.figma-section {
  padding-top: 84px;
  padding-bottom: 80px;
}

.figma-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #00d4a4;
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}

.figma-head-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 48px;
  text-align: left;
}

.figma-head-split > div {
  max-width: 690px;
}

.figma-head-split h2,
.figma-head-left h2 {
  font-size: 38px;
  line-height: 1.08;
  max-width: 760px;
}

.figma-head-split > p {
  width: 360px;
  margin: 0;
  text-align: right;
  color: #6885b0;
  font-size: 15px;
  line-height: 1.45;
}

.figma-feature-grid {
  grid-template-columns: 416px 1fr;
  gap: 16px;
}

.figma-feature-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.figma-feature-card {
  min-height: auto;
  padding: 24px;
  border-radius: 14px;
}

.figma-feature-card.large {
  grid-column: auto;
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #0d1f1a 0%, #08140f 100%);
}

.figma-feature-card.compact {
  min-height: 218px;
}

.figma-feature-card h3 {
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.22;
}

.figma-feature-card.large h3 {
  max-width: 330px;
  font-size: 25px;
  line-height: 1.2;
}

.figma-feature-card p {
  color: #6885b0;
  font-size: 15px;
  line-height: 1.55;
}

.figma-feature-card.compact p {
  font-size: 14px;
}

.figma-learn-link {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: #00d4a4;
  padding: 0;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.figma-feature-top span:nth-child(1) {
  font-size: 12px;
}

.figma-card-icon {
  width: 31px;
  height: 31px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.figma-workflow {
  padding-top: 70px;
}

.figma-head-left {
  max-width: none;
  margin: 0 0 48px;
  text-align: left;
}

.figma-workflow-grid {
  gap: 16px;
  margin-bottom: 40px;
}

.figma-work-card {
  min-height: 256px;
  padding: 28px;
  border-radius: 14px;
}

.figma-work-card div {
  justify-content: flex-start;
  gap: 12px;
}

.figma-work-card strong {
  color: #6885b0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1;
}

.figma-work-card span {
  font-size: 12px;
}

.figma-work-card h3 {
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.27;
}

.figma-work-card p {
  color: #6885b0;
  font-size: 15px;
}

.figma-capability-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.figma-capability-wall article {
  min-height: 91px;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1420;
}

.figma-capability-wall article strong {
  display: block;
  color: #f0f4ff;
  font-size: 14px;
  line-height: 1.2;
}

.figma-capability-wall article span {
  display: block;
  margin-top: 6px;
  color: #6885b0;
  font-size: 12px;
  line-height: 1.25;
}

.figma-skills {
  min-height: 466px;
}

.figma-split-head {
  margin-bottom: 34px;
}

.figma-split-head .figma-section-head h2 {
  max-width: 860px;
  font-size: 38px;
}

.figma-split-head .figma-section-head p {
  max-width: 540px;
  font-size: 15px;
  line-height: 1.45;
}

.figma-inline-actions {
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.figma-inline-actions .figma-btn {
  min-height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: #00d4a4;
}

.figma-inline-actions .figma-btn.ghost {
  color: #6885b0;
}

.figma-skill-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.figma-skill-filter-row span {
  width: 82px;
  color: #6885b0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.figma-skill-filter-row button {
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #6885b0;
  padding: 0 12px;
  font-size: 12px;
}

.figma-skill-filter-row button.active {
  color: #94a3b8;
}

.figma-skill-grid {
  margin-top: 30px;
}

.figma-pricing {
  padding-top: 78px;
}

.figma-pricing .figma-section-head h2 {
  font-size: 38px;
}

.figma-pricing .figma-section-head p {
  max-width: 520px;
  font-size: 15px;
}

.figma-price-grid {
  gap: 16px;
}

.figma-price-card {
  min-height: 372px;
  padding: 28px;
  border-radius: 14px;
}

.figma-price-card.featured {
  transform: none;
  background: linear-gradient(145deg, #0d1f1a, #08130f);
}

.figma-popular {
  left: 50%;
  right: auto;
  top: -12px;
  transform: translateX(-50%);
  min-height: 24px;
  color: #07110f;
  background: #00c896;
}

.figma-price-card h3 {
  margin: 9px 0 8px;
  color: #6885b0;
  font-size: 14px;
}

.figma-price-card p {
  color: #6885b0;
  font-size: 12px;
}

.figma-price {
  margin: 8px 0 24px;
  font-size: 34px;
}

.figma-price-card ul {
  gap: 12px;
}

.figma-testimonials .figma-section-head h2 {
  font-size: 31px;
}

.figma-testimonials .figma-section-head p {
  font-size: 14px;
}

.figma-testimonial-card {
  min-height: 210px;
  border-radius: 14px;
}

.figma-testimonial-card p {
  color: #f0f4ff;
  font-size: 15px;
  font-weight: 650;
}

.figma-cta-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.figma-cta-card {
  width: min(896px, 100%);
  margin: 0 auto;
  display: block;
  text-align: center;
  padding: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0d1f1a, #070b12);
}

.figma-cta-card h2 {
  font-size: 36px;
}

.figma-cta-card p {
  max-width: 570px;
  margin-left: auto;
}

.figma-cta-actions {
  margin-top: 32px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.legal-footer {
  padding-left: max(24px, calc((100vw - 1228px) / 2));
  padding-right: max(24px, calc((100vw - 1228px) / 2));
  justify-content: space-between;
}

.support-channel-links-cta {
  justify-content: flex-end;
}

.final-cta-actions .support-channel-link,
.figma-cta-actions .support-channel-link {
  width: 36px;
  height: 36px;
  padding: 8px;
  font-size: inherit;
}

.final-cta-actions .support-channel-link-whatsapp,
.figma-cta-actions .support-channel-link-whatsapp { color: #25d366; }
.final-cta-actions .support-channel-link-telegram,
.figma-cta-actions .support-channel-link-telegram { color: #2aabee; }
.final-cta-actions .support-channel-link-wechat,
.figma-cta-actions .support-channel-link-wechat { color: #07c160; }
.final-cta-actions .support-channel-link-qq,
.figma-cta-actions .support-channel-link-qq { color: #12b7f5; }
.final-cta-actions .support-channel-link-livechat,
.figma-cta-actions .support-channel-link-livechat { color: #a78bfa; }

@media (max-width: 1180px) {
  .figma-container {
    width: min(100% - 40px, 1282px);
  }
  .figma-feature-grid {
    grid-template-columns: 1fr;
  }
  .figma-feature-side-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .figma-capability-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .figma-head-split {
    display: block;
  }
  .figma-head-split > p {
    width: auto;
    margin-top: 16px;
    text-align: left;
  }
  .figma-feature-side-grid,
  .figma-capability-wall {
    grid-template-columns: 1fr;
  }
  .figma-feature-card.large {
    min-height: auto;
  }
}

/* Skills directory: keep the full catalog aligned with the QQK homepage refresh. */
.figma-skills-directory {
  min-height: 100vh;
  background: #070b12;
  color: #f0f4ff;
}

.figma-directory-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #070b12;
}

.figma-directory-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.38;
}

.figma-directory-hero::after {
  content: "";
  position: absolute;
  inset: -18% 18% auto;
  height: 430px;
  background:
    radial-gradient(circle at 42% 42%, rgba(0, 200, 150, 0.16), transparent 46%),
    radial-gradient(circle at 68% 30%, rgba(98, 92, 255, 0.18), transparent 42%);
  filter: blur(10px);
  opacity: 0.9;
}

.figma-directory-container {
  position: relative;
  z-index: 1;
  width: min(1282px, calc(100% - 144px));
  margin: 0 auto;
}

.figma-directory-head {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  gap: 32px;
  align-items: end;
}

.figma-directory-head h1 {
  margin: 14px 0 16px;
  color: #f0f4ff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
  font-weight: 900;
}

.figma-directory-head p {
  max-width: 720px;
  margin: 0;
  color: #6885b0;
  font-size: 16px;
  line-height: 1.6;
}

.figma-directory-head .figma-btn {
  justify-self: end;
  min-width: 150px;
}

.figma-skills-directory .skill-search {
  max-width: 680px;
  margin: 34px 0 20px;
}

.figma-skills-directory .skill-search input {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(13, 20, 32, 0.9);
  color: #f0f4ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.figma-skills-directory .skill-search input::placeholder {
  color: #526a91;
}

.figma-skills-directory .skill-search input:focus {
  outline: 2px solid rgba(0, 200, 150, 0.18);
  border-color: rgba(0, 200, 150, 0.45);
}

.figma-skills-directory .skill-filters {
  display: grid;
  gap: 12px;
}

.figma-skills-directory .skill-filter-group {
  gap: 9px;
}

.figma-skills-directory .skill-filter-group span {
  width: 88px;
  min-width: 88px;
  color: #6885b0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.figma-skills-directory .skill-filter-group button {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #8aa1c5;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 700;
}

.figma-skills-directory .skill-filter-group button:hover {
  border-color: rgba(0, 200, 150, 0.35);
  color: #f0f4ff;
}

.figma-skills-directory .skill-filter-group button.active {
  border-color: rgba(0, 200, 150, 0.8);
  background: #00c896;
  color: #07110f;
}

.figma-directory-results {
  padding: 56px 0 96px;
  background: #070b12;
}

.figma-directory-result-head {
  margin-bottom: 28px;
}

.figma-directory-result-head h2 {
  margin: 0 0 8px;
  color: #f0f4ff;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 850;
}

.figma-directory-result-head p {
  margin: 0;
  color: #6885b0;
  font-size: 14px;
}

.figma-skills-directory .all-skills-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.figma-skills-directory .skill-catalog-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #0d1420;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}

.figma-skills-directory .skill-catalog-card:hover {
  border-color: rgba(0, 200, 150, 0.32);
  transform: translateY(-2px);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.figma-skills-directory .skill-card-top {
  margin-bottom: 18px;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.skill-pill.platform {
  border: 1px solid rgba(71, 139, 255, 0.45);
  background: rgba(21, 83, 160, 0.2);
  color: #8bbcff;
}

.skill-pill.available {
  border: 1px solid rgba(0, 200, 150, 0.42);
  background: rgba(0, 200, 150, 0.13);
  color: #00d4a4;
}

.skill-pill.limited {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

.figma-skills-directory .skill-catalog-card h3 {
  margin: 0;
  color: #f0f4ff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
}

.figma-skills-directory .skill-catalog-card p {
  flex: 1;
  margin: 12px 0 18px;
  color: #8aa1c5;
  font-size: 14px;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.figma-skills-directory .skill-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6885b0;
}

.figma-skills-directory .skill-meta strong {
  color: #00d4a4;
}

.figma-skills-directory .skill-plan-btn {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: transparent;
  color: #f0f4ff;
}

.figma-skills-directory .skill-plan-btn:hover {
  border-color: rgba(0, 200, 150, 0.55);
  background: rgba(0, 200, 150, 0.07);
}

.figma-skills-directory .empty-skill-state {
  border-color: rgba(255, 255, 255, 0.08);
  background: #0d1420;
  color: #8aa1c5;
}

@media (max-width: 1100px) {
  .figma-directory-container {
    width: min(100% - 40px, 1282px);
  }
  .figma-directory-head {
    grid-template-columns: 1fr;
  }
  .figma-directory-head .figma-btn {
    justify-self: start;
  }
  .figma-skills-directory .all-skills-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .figma-directory-hero {
    padding-top: 58px;
  }
  .figma-skills-directory .all-skills-card-grid {
    grid-template-columns: 1fr;
  }
  .figma-skills-directory .skill-filter-group span {
    width: 100%;
  }
}

/* Portal legal documents */
.legal-body {
  min-height: 100vh;
  background: #070b12;
  color: #f0f4ff;
}

.legal-body .site-nav a {
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0;
  text-decoration: none;
  transition: color 0.18s ease;
}

.legal-body .site-nav a:hover {
  color: #f0f4ff;
}

.figma-legal-page {
  background: #070b12;
}

.legal-layout-container,
.legal-document-wrap {
  width: min(1080px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.legal-hero {
  padding-top: 56px;
  padding-bottom: 48px;
}

.legal-hero .figma-directory-head {
  grid-template-columns: minmax(0, 720px) auto;
}

.legal-hero h1 {
  font-size: clamp(42px, 4.2vw, 58px);
}

.legal-document-wrap {
  padding: 44px 0 80px;
}

.legal-document {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    radial-gradient(circle at 95% 0%, rgba(0, 200, 150, 0.08), transparent 32%),
    #0d1420;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
  padding: clamp(26px, 4vw, 46px);
}

.legal-document .meta {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 28px;
  border: 1px solid rgba(0, 200, 150, 0.34);
  border-radius: 999px;
  background: rgba(0, 200, 150, 0.09);
  color: #00d4a4;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}

.legal-document h1 {
  margin: 0 0 18px;
  color: #f0f4ff;
}

.legal-document h2 {
  margin: 34px 0 10px;
  color: #f0f4ff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
}

.legal-document p,
.legal-document li {
  color: #9db3d6;
  font-size: 15px;
  line-height: 1.72;
}

.legal-document p {
  margin: 0 0 16px;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal-document li::marker {
  color: #00d4a4;
}

.legal-body .legal-footer {
  width: auto;
  margin: 0;
  padding: 24px max(24px, calc((100vw - 1228px) / 2));
  justify-content: space-between;
}

.privacy-panel .panel-body p {
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.55;
}

.announcement-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.announcement-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px 14px;
}

.announcement-item p {
  margin: 6px 0 0;
}

.announcement-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.qr-card {
  display: inline-grid;
  gap: 8px;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
  width: max-content;
  max-width: 100%;
}

.qr-card img {
  width: 180px;
  height: 180px;
  border-radius: 6px;
  background: #fff;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(221, 228, 224, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.18);
  backdrop-filter: blur(12px);
}

.cookie-banner__copy {
  min-width: 0;
}

.cookie-banner__copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.cookie-banner__copy p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-banner__copy a {
  color: var(--primary);
  font-weight: 650;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .assistant-relay-layout,
  .assistant-compose {
    grid-template-columns: 1fr;
  }
  .assistant-thread-panel,
  .assistant-chat-panel {
    min-height: 0;
  }
  .assistant-message-list {
    max-height: none;
  }
  .ticket-detail-meta {
    grid-template-columns: 1fr;
  }
  .legal-hero .figma-directory-head {
    grid-template-columns: 1fr;
  }
  .legal-body .legal-footer {
    justify-content: center;
  }
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }
  .cookie-banner__actions {
    justify-content: stretch;
  }
  .cookie-banner__actions .button {
    flex: 1 1 0;
    min-width: 0;
  }
}
